[ansible-project] Re: Rebooting the server

2014-03-28 Thread Rafał Hajduk
ible has no problem connecting using the value in your > inventory file, you might start with inventory_hostname which will use the > entry in your inventory file. > > Relevant docs here: http://docs.ansible.com/playbooks_variables.html > > > > On Friday, March 28, 2014 10:

[ansible-project] Re: Rebooting the server

2014-03-28 Thread Rafał Hajduk
ml > > Or there could be a connectivity issue. Is it listening on port 22? Does > FQDN name resolution work? > > On Friday, March 28, 2014 9:00:28 AM UTC-5, Rafał Hajduk wrote: >> >> Hello >> >> I want to reboot my server and continue with other instructions. My

[ansible-project] Rebooting the server

2014-03-28 Thread Rafał Hajduk
Hello I want to reboot my server and continue with other instructions. My code is: - name: reboot command: reboot notify: - wait until rebooted - name: wait until rebooted local_action: wait_for host={{ansible_fqdn}} port=22 state=started delay= 30 sudo: false After execution I get an

[ansible-project] Where to store environmental variables

2013-12-24 Thread Rafał Hajduk
According to this articleI should create files like PRODUCTION or STAGING with lists of hosts that belong to these environments. But how can I specify variables for these environments? For example variable ERROR_REPORTING. Is the

[ansible-project] Ansible vs Phing

2013-12-20 Thread Rafał Hajduk
Should I use Phing and Ansible together or use just one of these tools ? Ansible is great to configure the server, but is it any good for deployment ? What I understand as deployment is: 1. Upload new version of code (specified git branch) to /{timestamp}/ 2. Replace current .htaccess wit