style.css not getting executed while installing lamp stack using ansible

0 votes
I have a playbook that installs lamp stack on my ubuntu. I also want to run a static website. I have two files index.html and style.css in my /etc/ansible. I also have my lamp.yml file in the same folder. I executed the playbook and ssh into the host to check if the website has been hosted. I found out that it's been hosted but only my index.html got executed because there is no formatting. style.css is not getting executed. Why is it happening?
Feb 9, 2019 in Ansible by kishore
65 views

1 answer to this question.

0 votes

Hey @Kishore make sure, your folder directory is this way

/etc/ansible/website/index.html
/etc/ansible/website/style.css
/etc/ansible/lamp.yaml
/etc/ansible/hosts
/etc/ansible/roles
answered Feb 9, 2019 by Monish

Related Questions In Ansible

+2 votes
1 answer

getting error while installing ansible on redhat8

The same error is reported in this ...READ MORE

answered Dec 3, 2019 in Ansible by Raveendiran
• 860 points
87 views
+1 vote
3 answers
0 votes
1 answer
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,400 points
412 views
0 votes
1 answer
0 votes
1 answer

Issue while using lineinfile module - Ansible

The lineinfile task has to match both the ...READ MORE

answered Jan 16, 2019 in Ansible by Lavanya
116 views