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 in Ansible by kishore
29 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 by Monish

Related Questions In Ansible

0 votes
3 answers
0 votes
1 answer
0 votes
1 answer

Getting numbered build artefact using ansible from jenkins

You can get the build number with ...READ MORE

answered Aug 20, 2018 in Ansible by ajs3033
• 7,280 points
593 views
+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,380 points
124 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 in Ansible by Lavanya
44 views