- using Ansible command line:
ansible-playbook --connection=local 127.0.0.1 playbook.yml- using inventory:
127.0.0.1 ansible_connection=local| # This is a step by step tutorial on how to run uwsgi in emperor mode, | |
| # behind nginx on Fedora 20. I'll add to the tutorial as time goes on. | |
| # SeLinux will likely be a pain (even in permissive mode), so please see my comment on how to fix it. | |
| sudo yum upgrade | |
| sudo yum install nano yum-utils gcc uwsgi-plugin-python3 nginx | |
| yum-builddep python3-psycopg2 |
| #!/bin/bash | |
| aptitude -y install expect | |
| // Not required in actual script | |
| MYSQL_ROOT_PASSWORD=abcd1234 | |
| SECURE_MYSQL=$(expect -c " | |
| set timeout 10 |
ansible-playbook --connection=local 127.0.0.1 playbook.yml127.0.0.1 ansible_connection=local| #!/bin/bash | |
| # KIOSK generator for Scientific Linux and CentOS (versions 5; 6 and 7) | |
| # Created using Scientific Linux | |
| # Wasn't made and never tested on different distros than SL/CentOS/EL! | |
| # Version 1.4 for i386 and x86_64 | |
| # | |
| # Feel free to contact me: [email protected] | |
| # www.marcinwilk.eu | |
| # Marcin Wilk |