This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: Install Apache | |
package: | |
name: "{{ item }}" | |
state: present | |
with_items: "{{ apache_os[ansible_os_family].packages }}" | |
# In vars/main.yaml: | |
apache_os: | |
RedHat: | |
# ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# FreeBSD | |
ansible 2.2.0.0 | |
config file = /usr/home/me/work/ansible/ansible.cfg | |
configured module search path = Default w/o overrides | |
# CentOS 7 | |
ansible 2.2.0.0 | |
config file = /buildbot/ansible_deploy/build/ansible.cfg | |
configured module search path = Default w/o overrides |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[defaults] | |
forks = 50 | |
gathering = smart | |
inventory = stg/stg_inventory | |
[ssh_connection] | |
ssh_args = -o ControlMaster=auto -o ControlPersist=600s | |
pipelining = True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: testing playbook | |
user: root | |
gather_facts: yes | |
hosts: | |
- host.example.com | |
vars: | |
ansible_python_interpreter: /usr/bin/python2 | |
a: | |
RedHat: | |
packages: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2017-02-03 21:44:35+0000 [Broker,1,172.30.79.236] worker 'bit03-spawner' attaching from IPv4Address(TCP, 'IP', PORT) | |
2017-02-03 21:44:35+0000 [Broker,1,172.30.79.236] Worker.getWorkerInfo is unavailable - falling back to deprecated buildslave API | |
2017-02-03 21:44:35+0000 [Broker,1,172.30.79.236] Got workerinfo from 'bit03-spawner' | |
2017-02-03 21:44:35+0000 [-] bot attached | |
2017-02-03 21:44:35+0000 [-] worker bit03-spawner cannot attach | |
Traceback (most recent call last): | |
Failure: twisted.internet.error.AlreadyCalled: Tried to cancel an already-called event. | |
2017-02-03 21:46:09+0000 [-] Received SIGTERM, shutting down. | |
2017-02-03 21:46:09+0000 [-] doing housekeeping for master 1 buildbot-travis:/buildbot |
OlderNewer