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
14 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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,000 points
436 views
+13 votes
2 answers
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
37 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.