Last active
May 19, 2020 10:39
-
-
Save xenlo/9d3c445a4dbbebd453c4598861fd416a to your computer and use it in GitHub Desktop.
Ara issue, output with a basic playbook which test the local/custom facts to store some meta data on hosts
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
2020-05-19 12:08:40,367 p=9925 u=xenlo n=ara.plugins.callback.default | v2_playbook_on_start | |
2020-05-19 12:08:40,368 p=9925 u=xenlo n=ara.plugins.callback.default | Ignoring argument: extra_vars | |
2020-05-19 12:08:40,373 p=9925 u=xenlo n=urllib3.connectionpool | Starting new HTTP connection (1): ara.my_domain.net:8000 | |
2020-05-19 12:08:40,434 p=9925 u=xenlo n=urllib3.connectionpool | http://ara.my_domain.net:8000 "POST /api/v1/playbooks HTTP/1.1" 201 1113 | |
2020-05-19 12:08:40,435 p=9925 u=xenlo n=ara.clients.http | HTTP 201: post on /api/v1/playbooks | |
2020-05-19 12:08:40,436 p=9925 u=xenlo n=ara.plugins.callback.default | File not in cache, getting or creating: /home/xenlo/Projects/378/playground/set_local_facts.yml | |
2020-05-19 12:08:40,440 p=9925 u=xenlo n=urllib3.connectionpool | Resetting dropped connection: ara.my_domain.net | |
2020-05-19 12:08:40,498 p=9925 u=xenlo n=urllib3.connectionpool | http://ara.my_domain.net:8000 "POST /api/v1/files HTTP/1.1" 201 1144 | |
2020-05-19 12:08:40,500 p=9925 u=xenlo n=ara.clients.http | HTTP 201: post on /api/v1/files | |
2020-05-19 12:08:40,506 p=9925 u=xenlo n=ansible | PLAY [Create a structure to store meta data on hosts] ******************************************************************************** | |
2020-05-19 12:08:40,507 p=9925 u=xenlo n=ara.plugins.callback.default | v2_playbook_on_play_start | |
2020-05-19 12:08:40,512 p=9925 u=xenlo n=urllib3.connectionpool | Resetting dropped connection: ara.my_domain.net | |
2020-05-19 12:08:40,571 p=9925 u=xenlo n=urllib3.connectionpool | http://ara.my_domain.net:8000 "POST /api/v1/plays HTTP/1.1" 201 294 | |
2020-05-19 12:08:40,574 p=9925 u=xenlo n=ara.clients.http | HTTP 201: post on /api/v1/plays | |
2020-05-19 12:08:40,683 p=9925 u=xenlo n=ansible | TASK [Ensure directory ansible/facts.d is present] *********************************************************************************** | |
2020-05-19 12:08:40,683 p=9925 u=xenlo n=ara.plugins.callback.default | v2_playbook_on_task_start | |
2020-05-19 12:08:40,688 p=9925 u=xenlo n=urllib3.connectionpool | Resetting dropped connection: ara.my_domain.net | |
2020-05-19 12:08:40,754 p=9925 u=xenlo n=urllib3.connectionpool | http://ara.my_domain.net:8000 "POST /api/v1/tasks HTTP/1.1" 201 324 | |
2020-05-19 12:08:40,756 p=9925 u=xenlo n=ara.clients.http | HTTP 201: post on /api/v1/tasks | |
2020-05-19 12:08:40,757 p=9925 u=xenlo n=ansible | Tuesday 19 May 2020 12:08:40 +0200 (0:00:00.615) 0:00:00.615 *********** | |
2020-05-19 12:08:42,024 p=9925 u=xenlo n=ansible | ok: [my_little_host] | |
2020-05-19 12:08:42,025 p=9925 u=xenlo n=ara.plugins.callback.default | Host not in cache, getting or creating: my_little_host | |
2020-05-19 12:08:42,033 p=9925 u=xenlo n=urllib3.connectionpool | Resetting dropped connection: ara.my_domain.net | |
2020-05-19 12:08:42,099 p=9925 u=xenlo n=urllib3.connectionpool | http://ara.my_domain.net:8000 "POST /api/v1/hosts HTTP/1.1" 201 188 | |
2020-05-19 12:08:42,101 p=9925 u=xenlo n=ara.clients.http | HTTP 201: post on /api/v1/hosts | |
2020-05-19 12:08:42,113 p=9925 u=xenlo n=urllib3.connectionpool | Resetting dropped connection: ara.my_domain.net | |
2020-05-19 12:08:42,177 p=9925 u=xenlo n=urllib3.connectionpool | http://ara.my_domain.net:8000 "POST /api/v1/results HTTP/1.1" 201 1082 | |
2020-05-19 12:08:42,178 p=9925 u=xenlo n=ara.clients.http | HTTP 201: post on /api/v1/results | |
2020-05-19 12:08:42,205 p=9925 u=xenlo n=ansible | TASK [Store the a list of stuffs as custom facts] ************************************************************************************ | |
2020-05-19 12:08:42,206 p=9925 u=xenlo n=ara.plugins.callback.default | v2_playbook_on_task_start | |
2020-05-19 12:08:42,222 p=9925 u=xenlo n=urllib3.connectionpool | Resetting dropped connection: ara.my_domain.net | |
2020-05-19 12:08:42,295 p=9925 u=xenlo n=urllib3.connectionpool | http://ara.my_domain.net:8000 "PATCH /api/v1/tasks/15746 HTTP/1.1" 200 364 | |
2020-05-19 12:08:42,303 p=9925 u=xenlo n=ara.clients.http | HTTP 200: patch on /api/v1/tasks/15746 | |
2020-05-19 12:08:42,307 p=9925 u=xenlo n=urllib3.connectionpool | Resetting dropped connection: ara.my_domain.net | |
2020-05-19 12:08:42,386 p=9925 u=xenlo n=urllib3.connectionpool | http://ara.my_domain.net:8000 "POST /api/v1/tasks HTTP/1.1" 201 323 | |
2020-05-19 12:08:42,388 p=9925 u=xenlo n=ara.clients.http | HTTP 201: post on /api/v1/tasks | |
2020-05-19 12:08:42,390 p=9925 u=xenlo n=ansible | Tuesday 19 May 2020 12:08:42 +0200 (0:00:01.632) 0:00:02.248 *********** | |
2020-05-19 12:08:44,289 p=9925 u=xenlo n=ansible | ok: [my_little_host] => (item={'key': 'my_first_key', 'value': 'my_value'}) | |
2020-05-19 12:08:45,779 p=9925 u=xenlo n=ansible | ok: [my_little_host] => (item={'key': 'a_second_key', 'value': ['this', 'is', 'a', 'list']}) | |
2020-05-19 12:08:47,356 p=9925 u=xenlo n=ansible | ok: [my_little_host] => (item={'key': 'third_key', 'value': {'one': 'and try', 'two': 'a dict', 'three': 'too'}}) | |
2020-05-19 12:08:47,368 p=9925 u=xenlo n=urllib3.connectionpool | Resetting dropped connection: ara.my_domain.net | |
2020-05-19 12:08:47,435 p=9925 u=xenlo n=urllib3.connectionpool | http://ara.my_domain.net:8000 "POST /api/v1/results HTTP/1.1" 201 3628 | |
2020-05-19 12:08:47,438 p=9925 u=xenlo n=ara.clients.http | HTTP 201: post on /api/v1/results | |
2020-05-19 12:08:47,468 p=9925 u=xenlo n=ansible | TASK [Gather the facts] ************************************************************************************************************** | |
2020-05-19 12:08:47,470 p=9925 u=xenlo n=ara.plugins.callback.default | v2_playbook_on_task_start | |
2020-05-19 12:08:47,477 p=9925 u=xenlo n=urllib3.connectionpool | Resetting dropped connection: ara.my_domain.net | |
2020-05-19 12:08:47,537 p=9925 u=xenlo n=urllib3.connectionpool | http://ara.my_domain.net:8000 "PATCH /api/v1/tasks/15747 HTTP/1.1" 200 363 | |
2020-05-19 12:08:47,539 p=9925 u=xenlo n=ara.clients.http | HTTP 200: patch on /api/v1/tasks/15747 | |
2020-05-19 12:08:47,544 p=9925 u=xenlo n=urllib3.connectionpool | Resetting dropped connection: ara.my_domain.net | |
2020-05-19 12:08:47,603 p=9925 u=xenlo n=urllib3.connectionpool | http://ara.my_domain.net:8000 "POST /api/v1/tasks HTTP/1.1" 201 298 | |
2020-05-19 12:08:47,605 p=9925 u=xenlo n=ara.clients.http | HTTP 201: post on /api/v1/tasks | |
2020-05-19 12:08:47,606 p=9925 u=xenlo n=ansible | Tuesday 19 May 2020 12:08:47 +0200 (0:00:05.216) 0:00:07.464 *********** | |
2020-05-19 12:08:49,738 p=9925 u=xenlo n=ansible | ok: [my_little_host] | |
2020-05-19 12:08:49,746 p=9925 u=xenlo n=ara.plugins.callback.default | Ignoring fact: ansible_env | |
2020-05-19 12:08:49,751 p=9925 u=xenlo n=urllib3.connectionpool | Resetting dropped connection: ara.my_domain.net | |
2020-05-19 12:08:49,819 p=9925 u=xenlo n=urllib3.connectionpool | http://ara.my_domain.net:8000 "POST /api/v1/results HTTP/1.1" 201 10272 | |
2020-05-19 12:08:49,826 p=9925 u=xenlo n=ara.clients.http | HTTP 201: post on /api/v1/results | |
2020-05-19 12:08:49,834 p=9925 u=xenlo n=urllib3.connectionpool | Resetting dropped connection: ara.my_domain.net | |
2020-05-19 12:08:49,899 p=9925 u=xenlo n=urllib3.connectionpool | http://ara.my_domain.net:8000 "PATCH /api/v1/hosts/468 HTTP/1.1" 200 9990 | |
2020-05-19 12:08:49,902 p=9925 u=xenlo n=ara.clients.http | HTTP 200: patch on /api/v1/hosts/468 | |
2020-05-19 12:08:49,938 p=9925 u=xenlo n=ansible | TASK [Print the custom facts] ******************************************************************************************************** | |
2020-05-19 12:08:49,939 p=9925 u=xenlo n=ara.plugins.callback.default | v2_playbook_on_task_start | |
2020-05-19 12:08:49,943 p=9925 u=xenlo n=urllib3.connectionpool | Resetting dropped connection: ara.my_domain.net | |
2020-05-19 12:08:50,003 p=9925 u=xenlo n=urllib3.connectionpool | http://ara.my_domain.net:8000 "PATCH /api/v1/tasks/15748 HTTP/1.1" 200 338 | |
2020-05-19 12:08:50,007 p=9925 u=xenlo n=ara.clients.http | HTTP 200: patch on /api/v1/tasks/15748 | |
2020-05-19 12:08:50,013 p=9925 u=xenlo n=urllib3.connectionpool | Resetting dropped connection: ara.my_domain.net | |
2020-05-19 12:08:50,076 p=9925 u=xenlo n=urllib3.connectionpool | http://ara.my_domain.net:8000 "POST /api/v1/tasks HTTP/1.1" 201 304 | |
2020-05-19 12:08:50,078 p=9925 u=xenlo n=ara.clients.http | HTTP 201: post on /api/v1/tasks | |
2020-05-19 12:08:50,079 p=9925 u=xenlo n=ansible | Tuesday 19 May 2020 12:08:50 +0200 (0:00:02.473) 0:00:09.937 *********** | |
2020-05-19 12:08:50,294 p=9925 u=xenlo n=ansible | ok: [my_little_host] => | |
ansible_local: | |
a_second_key: | |
- this | |
- is | |
- a | |
- list | |
my_first_key: my_value | |
third_key: | |
one: and try | |
three: too | |
two: a dict | |
2020-05-19 12:08:50,306 p=9925 u=xenlo n=urllib3.connectionpool | Resetting dropped connection: ara.my_domain.net | |
2020-05-19 12:08:50,375 p=9925 u=xenlo n=urllib3.connectionpool | http://ara.my_domain.net:8000 "POST /api/v1/results HTTP/1.1" 201 471 | |
2020-05-19 12:08:50,377 p=9925 u=xenlo n=ara.clients.http | HTTP 201: post on /api/v1/results | |
2020-05-19 12:08:50,418 p=9925 u=xenlo n=ansible | TASK [Log on ara] ******************************************************************************************************************** | |
2020-05-19 12:08:50,420 p=9925 u=xenlo n=ara.plugins.callback.default | v2_playbook_on_task_start | |
2020-05-19 12:08:50,428 p=9925 u=xenlo n=urllib3.connectionpool | Resetting dropped connection: ara.my_domain.net | |
2020-05-19 12:08:50,495 p=9925 u=xenlo n=urllib3.connectionpool | http://ara.my_domain.net:8000 "PATCH /api/v1/tasks/15749 HTTP/1.1" 200 344 | |
2020-05-19 12:08:50,497 p=9925 u=xenlo n=ara.clients.http | HTTP 200: patch on /api/v1/tasks/15749 | |
2020-05-19 12:08:50,502 p=9925 u=xenlo n=urllib3.connectionpool | Resetting dropped connection: ara.my_domain.net | |
2020-05-19 12:08:50,563 p=9925 u=xenlo n=urllib3.connectionpool | http://ara.my_domain.net:8000 "POST /api/v1/tasks HTTP/1.1" 201 297 | |
2020-05-19 12:08:50,565 p=9925 u=xenlo n=ara.clients.http | HTTP 201: post on /api/v1/tasks | |
2020-05-19 12:08:50,566 p=9925 u=xenlo n=ansible | Tuesday 19 May 2020 12:08:50 +0200 (0:00:00.486) 0:00:10.424 *********** | |
2020-05-19 12:08:50,813 p=10029 u=xenlo n=urllib3.connectionpool | Resetting dropped connection: ara.my_domain.net | |
2020-05-19 12:08:50,870 p=10029 u=xenlo n=urllib3.connectionpool | http://ara.my_domain.net:8000 "GET /api/v1/plays?uuid=08002738-7772-12a0-461b-0000000000b2 HTTP/1.1" 200 298 | |
2020-05-19 12:08:50,873 p=10029 u=xenlo n=ara.clients.http | HTTP 200: get on /api/v1/plays?uuid=08002738-7772-12a0-461b-0000000000b2 | |
2020-05-19 12:08:50,877 p=10029 u=xenlo n=urllib3.connectionpool | Resetting dropped connection: ara.my_domain.net | |
2020-05-19 12:08:50,936 p=10029 u=xenlo n=urllib3.connectionpool | http://ara.my_domain.net:8000 "GET /api/v1/records?playbook=55&key=my_little_key HTTP/1.1" 200 52 | |
2020-05-19 12:08:50,937 p=10029 u=xenlo n=ara.clients.http | HTTP 200: get on /api/v1/records?playbook=55&key=my_little_key | |
2020-05-19 12:08:50,942 p=10029 u=xenlo n=urllib3.connectionpool | Resetting dropped connection: ara.my_domain.net | |
2020-05-19 12:08:51,000 p=10029 u=xenlo n=urllib3.connectionpool | http://ara.my_domain.net:8000 "POST /api/v1/records HTTP/1.1" 201 170 | |
2020-05-19 12:08:51,001 p=10029 u=xenlo n=ara.clients.http | HTTP 201: post on /api/v1/records | |
2020-05-19 12:08:51,007 p=9925 u=xenlo n=ansible | changed: [my_little_host] | |
2020-05-19 12:08:51,016 p=9925 u=xenlo n=urllib3.connectionpool | Resetting dropped connection: ara.my_domain.net | |
2020-05-19 12:08:51,076 p=9925 u=xenlo n=urllib3.connectionpool | http://ara.my_domain.net:8000 "POST /api/v1/results HTTP/1.1" 201 531 | |
2020-05-19 12:08:51,077 p=9925 u=xenlo n=ara.clients.http | HTTP 201: post on /api/v1/results | |
2020-05-19 12:08:51,082 p=9925 u=xenlo n=ansible | PLAY RECAP *************************************************************************************************************************** | |
2020-05-19 12:08:51,084 p=9925 u=xenlo n=ansible | my_little_host : ok=5 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 | |
2020-05-19 12:08:51,085 p=9925 u=xenlo n=ara.plugins.callback.default | v2_playbook_on_stats | |
2020-05-19 12:08:51,091 p=9925 u=xenlo n=urllib3.connectionpool | Resetting dropped connection: ara.my_domain.net | |
2020-05-19 12:08:51,157 p=9925 u=xenlo n=urllib3.connectionpool | http://ara.my_domain.net:8000 "PATCH /api/v1/tasks/15750 HTTP/1.1" 200 337 | |
2020-05-19 12:08:51,159 p=9925 u=xenlo n=ara.clients.http | HTTP 200: patch on /api/v1/tasks/15750 | |
2020-05-19 12:08:51,164 p=9925 u=xenlo n=urllib3.connectionpool | Resetting dropped connection: ara.my_domain.net | |
2020-05-19 12:08:51,224 p=9925 u=xenlo n=urllib3.connectionpool | http://ara.my_domain.net:8000 "PATCH /api/v1/plays/246 HTTP/1.1" 200 334 | |
2020-05-19 12:08:51,228 p=9925 u=xenlo n=ara.clients.http | HTTP 200: patch on /api/v1/plays/246 | |
2020-05-19 12:08:51,233 p=9925 u=xenlo n=urllib3.connectionpool | Resetting dropped connection: ara.my_domain.net | |
2020-05-19 12:08:51,295 p=9925 u=xenlo n=urllib3.connectionpool | http://ara.my_domain.net:8000 "PATCH /api/v1/hosts/468 HTTP/1.1" 200 9990 | |
2020-05-19 12:08:51,298 p=9925 u=xenlo n=ara.clients.http | HTTP 200: patch on /api/v1/hosts/468 | |
2020-05-19 12:08:51,303 p=9925 u=xenlo n=urllib3.connectionpool | Resetting dropped connection: ara.my_domain.net | |
2020-05-19 12:08:51,370 p=9925 u=xenlo n=urllib3.connectionpool | http://ara.my_domain.net:8000 "PATCH /api/v1/playbooks/55 HTTP/1.1" 200 1153 | |
2020-05-19 12:08:51,373 p=9925 u=xenlo n=ara.clients.http | HTTP 200: patch on /api/v1/playbooks/55 | |
2020-05-19 12:08:51,379 p=9925 u=xenlo n=ansible | Tuesday 19 May 2020 12:08:51 +0200 (0:00:00.808) 0:00:11.233 *********** | |
2020-05-19 12:08:51,380 p=9925 u=xenlo n=ansible | =============================================================================== | |
2020-05-19 12:08:51,388 p=9925 u=xenlo n=ansible | Store the a list of stuffs as custom facts ------------------------------------------------------------------------------------ 5.22s | |
2020-05-19 12:08:51,390 p=9925 u=xenlo n=ansible | Gather the facts -------------------------------------------------------------------------------------------------------------- 2.47s | |
2020-05-19 12:08:51,391 p=9925 u=xenlo n=ansible | Ensure directory ansible/facts.d is present ----------------------------------------------------------------------------------- 1.63s | |
2020-05-19 12:08:51,392 p=9925 u=xenlo n=ansible | Log on ara -------------------------------------------------------------------------------------------------------------------- 0.82s | |
2020-05-19 12:08:51,393 p=9925 u=xenlo n=ansible | Print the custom facts -------------------------------------------------------------------------------------------------------- 0.49s |
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
[empty] |
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
ansible-playbook 2.9.9 | |
config file = /home/xenlo/Projects/378/etc/ansible.cfg | |
configured module search path = ['/home/xenlo/Projects/378/library'] | |
ansible python module location = /home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ansible | |
executable location = /home/xenlo/.virtualenvs/378/bin/ansible-playbook | |
python version = 3.7.6 (default, Jan 30 2020, 10:29:04) [GCC 9.2.1 20190827 (Red Hat 9.2.1-1)] | |
Using /home/xenlo/Projects/378/etc/ansible.cfg as config file | |
host_list declined parsing /home/xenlo/Projects/378/inventories/Z10/00-inventory as it did not pass its verify_file() method | |
Parsed /home/xenlo/Projects/378/inventories/Z10/00-inventory inventory source with script plugin | |
host_list declined parsing /home/xenlo/Projects/378/inventories/Z10/hosts as it did not pass its verify_file() method | |
script declined parsing /home/xenlo/Projects/378/inventories/Z10/hosts as it did not pass its verify_file() method | |
auto declined parsing /home/xenlo/Projects/378/inventories/Z10/hosts as it did not pass its verify_file() method | |
Parsed /home/xenlo/Projects/378/inventories/Z10/hosts inventory source with ini plugin | |
host_list declined parsing /home/xenlo/Projects/378/inventories/setupenv/hosts as it did not pass its verify_file() method | |
script declined parsing /home/xenlo/Projects/378/inventories/setupenv/hosts as it did not pass its verify_file() method | |
auto declined parsing /home/xenlo/Projects/378/inventories/setupenv/hosts as it did not pass its verify_file() method | |
Parsed /home/xenlo/Projects/378/inventories/setupenv/hosts inventory source with ini plugin | |
Operations to perform: | |
Apply all migrations: admin, api, auth, contenttypes, db, sessions | |
Running migrations: | |
No migrations to apply. | |
PLAYBOOK: set_local_facts.yml **************************************************************************************************************************************************************************************************************************************************** | |
2020-05-18 18:43:51,030 INFO ansible: PLAYBOOK: set_local_facts.yml **************************************************************************************************************************************************************************************************************************************************** | |
2020-05-18 18:43:51,035 WARNING ansible: [WARNING]: Failure using method (v2_playbook_on_start) in callback plugin (<ansible.plugins.callback.ara_default.CallbackModule object at 0x7f384fff3c10>): HTTPConnectionPool(host='localhost', port=58075): Max retries exceeded with url: /api/v1/playbooks (Caused by | |
NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f384b5b7650>: Failed to establish a new connection: [Errno 111] Connection refused')) | |
Callback Exception: | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ansible/executor/task_queue_manager.py", line 324, in send_callback | |
method(*new_args, **kwargs) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 214, in v2_playbook_on_start | |
started=datetime.datetime.now().isoformat(), | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/clients/http.py", line 115, in post | |
return self._request("post", endpoint, **kwargs) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/clients/http.py", line 93, in _request | |
response = func(url, **kwargs) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/clients/http.py", line 69, in post | |
return self._request("post", url, data=json.dumps(payload)) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/clients/http.py", line 57, in _request | |
return self.http.request(method, self.endpoint + url, timeout=self.timeout, **payload) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/requests/sessions.py", line 530, in request | |
resp = self.send(prep, **send_kwargs) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/requests/sessions.py", line 643, in send | |
r = adapter.send(request, **kwargs) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/requests/adapters.py", line 516, in send | |
raise ConnectionError(e, request=request) | |
2020-05-18 18:43:51,037 INFO ansible: Callback Exception: | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ansible/executor/task_queue_manager.py", line 324, in send_callback | |
method(*new_args, **kwargs) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 214, in v2_playbook_on_start | |
started=datetime.datetime.now().isoformat(), | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/clients/http.py", line 115, in post | |
return self._request("post", endpoint, **kwargs) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/clients/http.py", line 93, in _request | |
response = func(url, **kwargs) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/clients/http.py", line 69, in post | |
return self._request("post", url, data=json.dumps(payload)) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/clients/http.py", line 57, in _request | |
return self.http.request(method, self.endpoint + url, timeout=self.timeout, **payload) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/requests/sessions.py", line 530, in request | |
resp = self.send(prep, **send_kwargs) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/requests/sessions.py", line 643, in send | |
r = adapter.send(request, **kwargs) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/requests/adapters.py", line 516, in send | |
raise ConnectionError(e, request=request) | |
1 plays in playground/set_local_facts.yml | |
2020-05-18 18:43:51,037 INFO ansible: 1 plays in playground/set_local_facts.yml | |
PLAY [Create a structure to store meta data on hosts] ************************************************************************************************************************************************************************************************************************* | |
2020-05-18 18:43:51,042 INFO ansible: PLAY [Create a structure to store meta data on hosts] ************************************************************************************************************************************************************************************************************************* | |
2020-05-18 18:43:51,043 WARNING ansible: [WARNING]: Failure using method (v2_playbook_on_play_start) in callback plugin (<ansible.plugins.callback.ara_default.CallbackModule object at 0x7f384fff3c10>): 'NoneType' object is not subscriptable | |
Callback Exception: | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ansible/executor/task_queue_manager.py", line 324, in send_callback | |
method(*new_args, **kwargs) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 248, in v2_playbook_on_play_start | |
self._get_or_create_file(path) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 366, in _get_or_create_file | |
"/api/v1/files", playbook=self.playbook["id"], path=path, content=content | |
2020-05-18 18:43:51,043 INFO ansible: Callback Exception: | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ansible/executor/task_queue_manager.py", line 324, in send_callback | |
method(*new_args, **kwargs) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 248, in v2_playbook_on_play_start | |
self._get_or_create_file(path) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 366, in _get_or_create_file | |
"/api/v1/files", playbook=self.playbook["id"], path=path, content=content | |
META: ran handlers | |
2020-05-18 18:43:51,054 INFO ansible: META: ran handlers | |
TASK [Ensure directory ansible/facts.d is present] **************************************************************************************************************************************************************************************************************************** | |
2020-05-18 18:43:51,150 INFO ansible: TASK [Ensure directory ansible/facts.d is present] **************************************************************************************************************************************************************************************************************************** | |
task path: /home/xenlo/Projects/378/playground/set_local_facts.yml:17 | |
2020-05-18 18:43:51,151 WARNING ansible: [WARNING]: Failure using method (v2_playbook_on_task_start) in callback plugin (<ansible.plugins.callback.ara_default.CallbackModule object at 0x7f384fff3c10>): 'NoneType' object is not subscriptable | |
Callback Exception: | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ansible/executor/task_queue_manager.py", line 324, in send_callback | |
method(*new_args, **kwargs) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 276, in v2_playbook_on_task_start | |
task_file = self._get_or_create_file(path) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 366, in _get_or_create_file | |
"/api/v1/files", playbook=self.playbook["id"], path=path, content=content | |
2020-05-18 18:43:51,152 INFO ansible: Callback Exception: | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ansible/executor/task_queue_manager.py", line 324, in send_callback | |
method(*new_args, **kwargs) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 276, in v2_playbook_on_task_start | |
task_file = self._get_or_create_file(path) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 366, in _get_or_create_file | |
"/api/v1/files", playbook=self.playbook["id"], path=path, content=content | |
Monday 18 May 2020 18:43:51 +0200 (0:00:00.327) 0:00:00.327 ************ | |
2020-05-18 18:43:51,152 INFO ansible: Monday 18 May 2020 18:43:51 +0200 (0:00:00.327) 0:00:00.327 ************ | |
<10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
2020-05-18 18:43:51,336 INFO ansible: <10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
<10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd 10.110.100.13 '/bin/sh -c '"'"'echo ~root && sleep 0'"'"'' | |
2020-05-18 18:43:51,344 INFO ansible: <10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd 10.110.100.13 '/bin/sh -c '"'"'echo ~root && sleep 0'"'"'' | |
<10.110.100.13> (0, b'/root\n', b'') | |
2020-05-18 18:43:51,673 INFO ansible: <10.110.100.13> (0, b'/root\n', b'') | |
<10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
2020-05-18 18:43:51,674 INFO ansible: <10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
<10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd 10.110.100.13 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir /root/.ansible/tmp/ansible-tmp-1589820231.674346-8458-114684256667330 && echo ansible-tmp-1589820231.674346-8458-114684256667330="` echo /root/.ansible/tmp/ansible-tmp-1589820231.674346-8458-114684256667330 `" ) && sleep 0'"'"'' | |
2020-05-18 18:43:51,676 INFO ansible: <10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd 10.110.100.13 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir /root/.ansible/tmp/ansible-tmp-1589820231.674346-8458-114684256667330 && echo ansible-tmp-1589820231.674346-8458-114684256667330="` echo /root/.ansible/tmp/ansible-tmp-1589820231.674346-8458-114684256667330 `" ) && sleep 0'"'"'' | |
<10.110.100.13> (0, b'ansible-tmp-1589820231.674346-8458-114684256667330=/root/.ansible/tmp/ansible-tmp-1589820231.674346-8458-114684256667330\n', b'') | |
2020-05-18 18:43:51,751 INFO ansible: <10.110.100.13> (0, b'ansible-tmp-1589820231.674346-8458-114684256667330=/root/.ansible/tmp/ansible-tmp-1589820231.674346-8458-114684256667330\n', b'') | |
Using module file /home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ansible/modules/files/file.py | |
2020-05-18 18:43:52,235 INFO ansible: Using module file /home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ansible/modules/files/file.py | |
<10.110.100.13> PUT /home/xenlo/.ansible/tmp/ansible-local-8450dwrpzj7u/tmp2sxaxh4l TO /root/.ansible/tmp/ansible-tmp-1589820231.674346-8458-114684256667330/AnsiballZ_file.py | |
2020-05-18 18:43:52,236 INFO ansible: <10.110.100.13> PUT /home/xenlo/.ansible/tmp/ansible-local-8450dwrpzj7u/tmp2sxaxh4l TO /root/.ansible/tmp/ansible-tmp-1589820231.674346-8458-114684256667330/AnsiballZ_file.py | |
<10.110.100.13> SSH: EXEC sshpass -d11 sftp -o BatchMode=no -b - -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd '[10.110.100.13]' | |
2020-05-18 18:43:52,237 INFO ansible: <10.110.100.13> SSH: EXEC sshpass -d11 sftp -o BatchMode=no -b - -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd '[10.110.100.13]' | |
<10.110.100.13> (0, b'sftp> put /home/xenlo/.ansible/tmp/ansible-local-8450dwrpzj7u/tmp2sxaxh4l /root/.ansible/tmp/ansible-tmp-1589820231.674346-8458-114684256667330/AnsiballZ_file.py\n', b'') | |
2020-05-18 18:43:52,445 INFO ansible: <10.110.100.13> (0, b'sftp> put /home/xenlo/.ansible/tmp/ansible-local-8450dwrpzj7u/tmp2sxaxh4l /root/.ansible/tmp/ansible-tmp-1589820231.674346-8458-114684256667330/AnsiballZ_file.py\n', b'') | |
<10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
2020-05-18 18:43:52,445 INFO ansible: <10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
<10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd 10.110.100.13 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1589820231.674346-8458-114684256667330/ /root/.ansible/tmp/ansible-tmp-1589820231.674346-8458-114684256667330/AnsiballZ_file.py && sleep 0'"'"'' | |
2020-05-18 18:43:52,447 INFO ansible: <10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd 10.110.100.13 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1589820231.674346-8458-114684256667330/ /root/.ansible/tmp/ansible-tmp-1589820231.674346-8458-114684256667330/AnsiballZ_file.py && sleep 0'"'"'' | |
<10.110.100.13> (0, b'', b'') | |
2020-05-18 18:43:52,512 INFO ansible: <10.110.100.13> (0, b'', b'') | |
<10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
2020-05-18 18:43:52,513 INFO ansible: <10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
<10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd -tt 10.110.100.13 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1589820231.674346-8458-114684256667330/AnsiballZ_file.py && sleep 0'"'"'' | |
2020-05-18 18:43:52,514 INFO ansible: <10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd -tt 10.110.100.13 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1589820231.674346-8458-114684256667330/AnsiballZ_file.py && sleep 0'"'"'' | |
<10.110.100.13> (0, b'\r\n{"group": "root", "uid": 0, "changed": false, "owner": "root", "state": "directory", "gid": 0, "mode": "0755", "path": "/etc/ansible/facts.d/", "invocation": {"module_args": {"directory_mode": null, "force": false, "remote_src": null, "_original_basename": null, "path": "/etc/ansible/facts.d/", "owner": null, "follow": true, "group": null, "unsafe_writes": null, "state": "directory", "content": null, "serole": null, "selevel": null, "setype": null, "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "modification_time": null, "regexp": null, "src": null, "seuser": null, "recurse": false, "_diff_peek": null, "delimiter": null, "mode": null, "modification_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null}}, "diff": {"after": {"path": "/etc/ansible/facts.d/"}, "before": {"path": "/etc/ansible/facts.d/"}}, "size": 4096}\r\n', b'Shared connection to 10.110.100.13 closed.\r\n') | |
2020-05-18 18:43:52,669 INFO ansible: <10.110.100.13> (0, b'\r\n{"group": "root", "uid": 0, "changed": false, "owner": "root", "state": "directory", "gid": 0, "mode": "0755", "path": "/etc/ansible/facts.d/", "invocation": {"module_args": {"directory_mode": null, "force": false, "remote_src": null, "_original_basename": null, "path": "/etc/ansible/facts.d/", "owner": null, "follow": true, "group": null, "unsafe_writes": null, "state": "directory", "content": null, "serole": null, "selevel": null, "setype": null, "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "modification_time": null, "regexp": null, "src": null, "seuser": null, "recurse": false, "_diff_peek": null, "delimiter": null, "mode": null, "modification_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null}}, "diff": {"after": {"path": "/etc/ansible/facts.d/"}, "before": {"path": "/etc/ansible/facts.d/"}}, "size": 4096}\r\n', b'Shared connection to 10.110.100.13 closed.\r\n') | |
<10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
2020-05-18 18:43:52,670 INFO ansible: <10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
<10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd 10.110.100.13 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1589820231.674346-8458-114684256667330/ > /dev/null 2>&1 && sleep 0'"'"'' | |
2020-05-18 18:43:52,671 INFO ansible: <10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd 10.110.100.13 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1589820231.674346-8458-114684256667330/ > /dev/null 2>&1 && sleep 0'"'"'' | |
<10.110.100.13> (0, b'', b'') | |
2020-05-18 18:43:52,745 INFO ansible: <10.110.100.13> (0, b'', b'') | |
ok: [my_little_host] => changed=false | |
diff: | |
after: | |
path: /etc/ansible/facts.d/ | |
before: | |
path: /etc/ansible/facts.d/ | |
gid: 0 | |
group: root | |
invocation: | |
module_args: | |
_diff_peek: null | |
_original_basename: null | |
access_time: null | |
access_time_format: '%Y%m%d%H%M.%S' | |
attributes: null | |
backup: null | |
content: null | |
delimiter: null | |
directory_mode: null | |
follow: true | |
force: false | |
group: null | |
mode: null | |
modification_time: null | |
modification_time_format: '%Y%m%d%H%M.%S' | |
owner: null | |
path: /etc/ansible/facts.d/ | |
recurse: false | |
regexp: null | |
remote_src: null | |
selevel: null | |
serole: null | |
setype: null | |
seuser: null | |
src: null | |
state: directory | |
unsafe_writes: null | |
mode: '0755' | |
owner: root | |
path: /etc/ansible/facts.d/ | |
size: 4096 | |
state: directory | |
uid: 0 | |
2020-05-18 18:43:52,763 INFO ansible: ok: [my_little_host] => changed=false | |
diff: | |
after: | |
path: /etc/ansible/facts.d/ | |
before: | |
path: /etc/ansible/facts.d/ | |
gid: 0 | |
group: root | |
invocation: | |
module_args: | |
_diff_peek: null | |
_original_basename: null | |
access_time: null | |
access_time_format: '%Y%m%d%H%M.%S' | |
attributes: null | |
backup: null | |
content: null | |
delimiter: null | |
directory_mode: null | |
follow: true | |
force: false | |
group: null | |
mode: null | |
modification_time: null | |
modification_time_format: '%Y%m%d%H%M.%S' | |
owner: null | |
path: /etc/ansible/facts.d/ | |
recurse: false | |
regexp: null | |
remote_src: null | |
selevel: null | |
serole: null | |
setype: null | |
seuser: null | |
src: null | |
state: directory | |
unsafe_writes: null | |
mode: '0755' | |
owner: root | |
path: /etc/ansible/facts.d/ | |
size: 4096 | |
state: directory | |
uid: 0 | |
2020-05-18 18:43:52,765 WARNING ansible: [WARNING]: Failure using method (v2_runner_on_ok) in callback plugin (<ansible.plugins.callback.ara_default.CallbackModule object at 0x7f384fff3c10>): 'NoneType' object is not subscriptable | |
Callback Exception: | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ansible/executor/task_queue_manager.py", line 324, in send_callback | |
method(*new_args, **kwargs) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 295, in v2_runner_on_ok | |
self._load_result(result, "ok", **kwargs) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 385, in _load_result | |
host = self._get_or_create_host(result._host.get_name()) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 375, in _get_or_create_host | |
self.host_cache[host] = self.client.post("/api/v1/hosts", name=host, playbook=self.playbook["id"]) | |
2020-05-18 18:43:52,765 INFO ansible: Callback Exception: | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ansible/executor/task_queue_manager.py", line 324, in send_callback | |
method(*new_args, **kwargs) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 295, in v2_runner_on_ok | |
self._load_result(result, "ok", **kwargs) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 385, in _load_result | |
host = self._get_or_create_host(result._host.get_name()) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 375, in _get_or_create_host | |
self.host_cache[host] = self.client.post("/api/v1/hosts", name=host, playbook=self.playbook["id"]) | |
TASK [Store the a list of stuffs as custom facts] ***************************************************************************************************************************************************************************************************************************** | |
2020-05-18 18:43:52,786 INFO ansible: TASK [Store the a list of stuffs as custom facts] ***************************************************************************************************************************************************************************************************************************** | |
task path: /home/xenlo/Projects/378/playground/set_local_facts.yml:22 | |
Callback Exception: | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ansible/executor/task_queue_manager.py", line 324, in send_callback | |
method(*new_args, **kwargs) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 276, in v2_playbook_on_task_start | |
task_file = self._get_or_create_file(path) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 366, in _get_or_create_file | |
"/api/v1/files", playbook=self.playbook["id"], path=path, content=content | |
2020-05-18 18:43:52,787 INFO ansible: Callback Exception: | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ansible/executor/task_queue_manager.py", line 324, in send_callback | |
method(*new_args, **kwargs) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 276, in v2_playbook_on_task_start | |
task_file = self._get_or_create_file(path) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 366, in _get_or_create_file | |
"/api/v1/files", playbook=self.playbook["id"], path=path, content=content | |
Monday 18 May 2020 18:43:52 +0200 (0:00:01.635) 0:00:01.962 ************ | |
2020-05-18 18:43:52,788 INFO ansible: Monday 18 May 2020 18:43:52 +0200 (0:00:01.635) 0:00:01.962 ************ | |
<10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
2020-05-18 18:43:52,966 INFO ansible: <10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
<10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd 10.110.100.13 '/bin/sh -c '"'"'echo ~root && sleep 0'"'"'' | |
2020-05-18 18:43:52,973 INFO ansible: <10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd 10.110.100.13 '/bin/sh -c '"'"'echo ~root && sleep 0'"'"'' | |
<10.110.100.13> (0, b'/root\n', b'') | |
2020-05-18 18:43:53,040 INFO ansible: <10.110.100.13> (0, b'/root\n', b'') | |
<10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
2020-05-18 18:43:53,041 INFO ansible: <10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
<10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd 10.110.100.13 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir /root/.ansible/tmp/ansible-tmp-1589820233.0408995-8477-42635791452180 && echo ansible-tmp-1589820233.0408995-8477-42635791452180="` echo /root/.ansible/tmp/ansible-tmp-1589820233.0408995-8477-42635791452180 `" ) && sleep 0'"'"'' | |
2020-05-18 18:43:53,042 INFO ansible: <10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd 10.110.100.13 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir /root/.ansible/tmp/ansible-tmp-1589820233.0408995-8477-42635791452180 && echo ansible-tmp-1589820233.0408995-8477-42635791452180="` echo /root/.ansible/tmp/ansible-tmp-1589820233.0408995-8477-42635791452180 `" ) && sleep 0'"'"'' | |
<10.110.100.13> (0, b'ansible-tmp-1589820233.0408995-8477-42635791452180=/root/.ansible/tmp/ansible-tmp-1589820233.0408995-8477-42635791452180\n', b'') | |
2020-05-18 18:43:53,109 INFO ansible: <10.110.100.13> (0, b'ansible-tmp-1589820233.0408995-8477-42635791452180=/root/.ansible/tmp/ansible-tmp-1589820233.0408995-8477-42635791452180\n', b'') | |
Using module file /home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ansible/modules/files/stat.py | |
2020-05-18 18:43:53,408 INFO ansible: Using module file /home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ansible/modules/files/stat.py | |
<10.110.100.13> PUT /home/xenlo/.ansible/tmp/ansible-local-8450dwrpzj7u/tmpxu9n9n90 TO /root/.ansible/tmp/ansible-tmp-1589820233.0408995-8477-42635791452180/AnsiballZ_stat.py | |
2020-05-18 18:43:53,409 INFO ansible: <10.110.100.13> PUT /home/xenlo/.ansible/tmp/ansible-local-8450dwrpzj7u/tmpxu9n9n90 TO /root/.ansible/tmp/ansible-tmp-1589820233.0408995-8477-42635791452180/AnsiballZ_stat.py | |
<10.110.100.13> SSH: EXEC sshpass -d11 sftp -o BatchMode=no -b - -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd '[10.110.100.13]' | |
2020-05-18 18:43:53,411 INFO ansible: <10.110.100.13> SSH: EXEC sshpass -d11 sftp -o BatchMode=no -b - -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd '[10.110.100.13]' | |
<10.110.100.13> (0, b'sftp> put /home/xenlo/.ansible/tmp/ansible-local-8450dwrpzj7u/tmpxu9n9n90 /root/.ansible/tmp/ansible-tmp-1589820233.0408995-8477-42635791452180/AnsiballZ_stat.py\n', b'') | |
2020-05-18 18:43:53,623 INFO ansible: <10.110.100.13> (0, b'sftp> put /home/xenlo/.ansible/tmp/ansible-local-8450dwrpzj7u/tmpxu9n9n90 /root/.ansible/tmp/ansible-tmp-1589820233.0408995-8477-42635791452180/AnsiballZ_stat.py\n', b'') | |
<10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
2020-05-18 18:43:53,624 INFO ansible: <10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
<10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd 10.110.100.13 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1589820233.0408995-8477-42635791452180/ /root/.ansible/tmp/ansible-tmp-1589820233.0408995-8477-42635791452180/AnsiballZ_stat.py && sleep 0'"'"'' | |
2020-05-18 18:43:53,625 INFO ansible: <10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd 10.110.100.13 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1589820233.0408995-8477-42635791452180/ /root/.ansible/tmp/ansible-tmp-1589820233.0408995-8477-42635791452180/AnsiballZ_stat.py && sleep 0'"'"'' | |
<10.110.100.13> (0, b'', b'') | |
2020-05-18 18:43:53,692 INFO ansible: <10.110.100.13> (0, b'', b'') | |
<10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
2020-05-18 18:43:53,693 INFO ansible: <10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
<10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd -tt 10.110.100.13 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1589820233.0408995-8477-42635791452180/AnsiballZ_stat.py && sleep 0'"'"'' | |
2020-05-18 18:43:53,694 INFO ansible: <10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd -tt 10.110.100.13 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1589820233.0408995-8477-42635791452180/AnsiballZ_stat.py && sleep 0'"'"'' | |
<10.110.100.13> (0, b'\r\n{"invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "path": "/etc/ansible/facts.d/my_first_key.fact", "get_md5": false, "get_mime": true, "get_attributes": true}}, "stat": {"charset": "us-ascii", "uid": 0, "exists": true, "attr_flags": "e", "woth": false, "isreg": true, "device_type": 0, "mtime": 1589812264.0777152, "block_size": 4096, "inode": 1055164, "isgid": false, "size": 11, "executable": false, "isuid": false, "readable": true, "version": "1231294753", "pw_name": "root", "gid": 0, "ischr": false, "wusr": true, "writeable": true, "mimetype": "text/plain", "blocks": 8, "xoth": false, "islnk": false, "nlink": 1, "issock": false, "rgrp": true, "gr_name": "root", "path": "/etc/ansible/facts.d/my_first_key.fact", "xusr": false, "atime": 1589812270.9297152, "isdir": false, "ctime": 1589812264.625715, "isblk": false, "wgrp": false, "checksum": "cbd6a533f3c718d93be0ef9d4a8da4310df5a6b2", "dev": 65024, "roth": true, "isfifo": false, "mode": "0644", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', b'Shared connection to 10.110.100.13 closed.\r\n') | |
2020-05-18 18:43:53,855 INFO ansible: <10.110.100.13> (0, b'\r\n{"invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "path": "/etc/ansible/facts.d/my_first_key.fact", "get_md5": false, "get_mime": true, "get_attributes": true}}, "stat": {"charset": "us-ascii", "uid": 0, "exists": true, "attr_flags": "e", "woth": false, "isreg": true, "device_type": 0, "mtime": 1589812264.0777152, "block_size": 4096, "inode": 1055164, "isgid": false, "size": 11, "executable": false, "isuid": false, "readable": true, "version": "1231294753", "pw_name": "root", "gid": 0, "ischr": false, "wusr": true, "writeable": true, "mimetype": "text/plain", "blocks": 8, "xoth": false, "islnk": false, "nlink": 1, "issock": false, "rgrp": true, "gr_name": "root", "path": "/etc/ansible/facts.d/my_first_key.fact", "xusr": false, "atime": 1589812270.9297152, "isdir": false, "ctime": 1589812264.625715, "isblk": false, "wgrp": false, "checksum": "cbd6a533f3c718d93be0ef9d4a8da4310df5a6b2", "dev": 65024, "roth": true, "isfifo": false, "mode": "0644", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', b'Shared connection to 10.110.100.13 closed.\r\n') | |
Using module file /home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ansible/modules/files/file.py | |
2020-05-18 18:43:53,861 INFO ansible: Using module file /home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ansible/modules/files/file.py | |
<10.110.100.13> PUT /home/xenlo/.ansible/tmp/ansible-local-8450dwrpzj7u/tmp4tebm333 TO /root/.ansible/tmp/ansible-tmp-1589820233.0408995-8477-42635791452180/AnsiballZ_file.py | |
2020-05-18 18:43:53,861 INFO ansible: <10.110.100.13> PUT /home/xenlo/.ansible/tmp/ansible-local-8450dwrpzj7u/tmp4tebm333 TO /root/.ansible/tmp/ansible-tmp-1589820233.0408995-8477-42635791452180/AnsiballZ_file.py | |
<10.110.100.13> SSH: EXEC sshpass -d11 sftp -o BatchMode=no -b - -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd '[10.110.100.13]' | |
2020-05-18 18:43:53,863 INFO ansible: <10.110.100.13> SSH: EXEC sshpass -d11 sftp -o BatchMode=no -b - -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd '[10.110.100.13]' | |
<10.110.100.13> (0, b'sftp> put /home/xenlo/.ansible/tmp/ansible-local-8450dwrpzj7u/tmp4tebm333 /root/.ansible/tmp/ansible-tmp-1589820233.0408995-8477-42635791452180/AnsiballZ_file.py\n', b'') | |
2020-05-18 18:43:54,078 INFO ansible: <10.110.100.13> (0, b'sftp> put /home/xenlo/.ansible/tmp/ansible-local-8450dwrpzj7u/tmp4tebm333 /root/.ansible/tmp/ansible-tmp-1589820233.0408995-8477-42635791452180/AnsiballZ_file.py\n', b'') | |
<10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
2020-05-18 18:43:54,079 INFO ansible: <10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
<10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd 10.110.100.13 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1589820233.0408995-8477-42635791452180/ /root/.ansible/tmp/ansible-tmp-1589820233.0408995-8477-42635791452180/AnsiballZ_file.py && sleep 0'"'"'' | |
2020-05-18 18:43:54,080 INFO ansible: <10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd 10.110.100.13 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1589820233.0408995-8477-42635791452180/ /root/.ansible/tmp/ansible-tmp-1589820233.0408995-8477-42635791452180/AnsiballZ_file.py && sleep 0'"'"'' | |
<10.110.100.13> (0, b'', b'') | |
2020-05-18 18:43:54,154 INFO ansible: <10.110.100.13> (0, b'', b'') | |
<10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
2020-05-18 18:43:54,154 INFO ansible: <10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
<10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd -tt 10.110.100.13 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1589820233.0408995-8477-42635791452180/AnsiballZ_file.py && sleep 0'"'"'' | |
2020-05-18 18:43:54,155 INFO ansible: <10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd -tt 10.110.100.13 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1589820233.0408995-8477-42635791452180/AnsiballZ_file.py && sleep 0'"'"'' | |
<10.110.100.13> (0, b'\r\n{"group": "root", "uid": 0, "changed": false, "owner": "root", "state": "file", "gid": 0, "mode": "0644", "path": "/etc/ansible/facts.d/my_first_key.fact", "invocation": {"module_args": {"directory_mode": null, "force": false, "remote_src": null, "_original_basename": "tmpozn5ay6u", "path": "/etc/ansible/facts.d/my_first_key.fact", "owner": null, "follow": true, "group": null, "unsafe_writes": null, "setype": null, "content": null, "serole": null, "selevel": null, "state": "file", "dest": "/etc/ansible/facts.d/my_first_key.fact", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "modification_time": null, "regexp": null, "src": null, "seuser": null, "recurse": false, "_diff_peek": null, "delimiter": null, "mode": null, "modification_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null}}, "diff": {"after": {"path": "/etc/ansible/facts.d/my_first_key.fact"}, "before": {"path": "/etc/ansible/facts.d/my_first_key.fact"}}, "size": 11}\r\n', b'Shared connection to 10.110.100.13 closed.\r\n') | |
2020-05-18 18:43:54,308 INFO ansible: <10.110.100.13> (0, b'\r\n{"group": "root", "uid": 0, "changed": false, "owner": "root", "state": "file", "gid": 0, "mode": "0644", "path": "/etc/ansible/facts.d/my_first_key.fact", "invocation": {"module_args": {"directory_mode": null, "force": false, "remote_src": null, "_original_basename": "tmpozn5ay6u", "path": "/etc/ansible/facts.d/my_first_key.fact", "owner": null, "follow": true, "group": null, "unsafe_writes": null, "setype": null, "content": null, "serole": null, "selevel": null, "state": "file", "dest": "/etc/ansible/facts.d/my_first_key.fact", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "modification_time": null, "regexp": null, "src": null, "seuser": null, "recurse": false, "_diff_peek": null, "delimiter": null, "mode": null, "modification_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null}}, "diff": {"after": {"path": "/etc/ansible/facts.d/my_first_key.fact"}, "before": {"path": "/etc/ansible/facts.d/my_first_key.fact"}}, "size": 11}\r\n', b'Shared connection to 10.110.100.13 closed.\r\n') | |
<10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
2020-05-18 18:43:54,309 INFO ansible: <10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
<10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd 10.110.100.13 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1589820233.0408995-8477-42635791452180/ > /dev/null 2>&1 && sleep 0'"'"'' | |
2020-05-18 18:43:54,311 INFO ansible: <10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd 10.110.100.13 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1589820233.0408995-8477-42635791452180/ > /dev/null 2>&1 && sleep 0'"'"'' | |
<10.110.100.13> (0, b'', b'') | |
2020-05-18 18:43:54,377 INFO ansible: <10.110.100.13> (0, b'', b'') | |
ok: [my_little_host] => (item={'key': 'my_first_key', 'value': 'my_value'}) => changed=false | |
ansible_loop_var: item | |
checksum: cbd6a533f3c718d93be0ef9d4a8da4310df5a6b2 | |
dest: /etc/ansible/facts.d/my_first_key.fact | |
diff: | |
after: | |
path: /etc/ansible/facts.d/my_first_key.fact | |
before: | |
path: /etc/ansible/facts.d/my_first_key.fact | |
gid: 0 | |
group: root | |
invocation: | |
module_args: | |
_diff_peek: null | |
_original_basename: tmpozn5ay6u | |
access_time: null | |
access_time_format: '%Y%m%d%H%M.%S' | |
attributes: null | |
backup: null | |
content: null | |
delimiter: null | |
dest: /etc/ansible/facts.d/my_first_key.fact | |
directory_mode: null | |
follow: true | |
force: false | |
group: null | |
mode: null | |
modification_time: null | |
modification_time_format: '%Y%m%d%H%M.%S' | |
owner: null | |
path: /etc/ansible/facts.d/my_first_key.fact | |
recurse: false | |
regexp: null | |
remote_src: null | |
selevel: null | |
serole: null | |
setype: null | |
seuser: null | |
src: null | |
state: file | |
unsafe_writes: null | |
item: | |
key: my_first_key | |
value: my_value | |
mode: '0644' | |
owner: root | |
path: /etc/ansible/facts.d/my_first_key.fact | |
size: 11 | |
state: file | |
uid: 0 | |
2020-05-18 18:43:54,416 INFO ansible: ok: [my_little_host] => (item={'key': 'my_first_key', 'value': 'my_value'}) => changed=false | |
ansible_loop_var: item | |
checksum: cbd6a533f3c718d93be0ef9d4a8da4310df5a6b2 | |
dest: /etc/ansible/facts.d/my_first_key.fact | |
diff: | |
after: | |
path: /etc/ansible/facts.d/my_first_key.fact | |
before: | |
path: /etc/ansible/facts.d/my_first_key.fact | |
gid: 0 | |
group: root | |
invocation: | |
module_args: | |
_diff_peek: null | |
_original_basename: tmpozn5ay6u | |
access_time: null | |
access_time_format: '%Y%m%d%H%M.%S' | |
attributes: null | |
backup: null | |
content: null | |
delimiter: null | |
dest: /etc/ansible/facts.d/my_first_key.fact | |
directory_mode: null | |
follow: true | |
force: false | |
group: null | |
mode: null | |
modification_time: null | |
modification_time_format: '%Y%m%d%H%M.%S' | |
owner: null | |
path: /etc/ansible/facts.d/my_first_key.fact | |
recurse: false | |
regexp: null | |
remote_src: null | |
selevel: null | |
serole: null | |
setype: null | |
seuser: null | |
src: null | |
state: file | |
unsafe_writes: null | |
item: | |
key: my_first_key | |
value: my_value | |
mode: '0644' | |
owner: root | |
path: /etc/ansible/facts.d/my_first_key.fact | |
size: 11 | |
state: file | |
uid: 0 | |
<10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
2020-05-18 18:43:54,449 INFO ansible: <10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
<10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd 10.110.100.13 '/bin/sh -c '"'"'echo ~root && sleep 0'"'"'' | |
2020-05-18 18:43:54,450 INFO ansible: <10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd 10.110.100.13 '/bin/sh -c '"'"'echo ~root && sleep 0'"'"'' | |
<10.110.100.13> (0, b'/root\n', b'') | |
2020-05-18 18:43:54,525 INFO ansible: <10.110.100.13> (0, b'/root\n', b'') | |
<10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
2020-05-18 18:43:54,526 INFO ansible: <10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
<10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd 10.110.100.13 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir /root/.ansible/tmp/ansible-tmp-1589820234.526009-8477-276673029795140 && echo ansible-tmp-1589820234.526009-8477-276673029795140="` echo /root/.ansible/tmp/ansible-tmp-1589820234.526009-8477-276673029795140 `" ) && sleep 0'"'"'' | |
2020-05-18 18:43:54,527 INFO ansible: <10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd 10.110.100.13 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir /root/.ansible/tmp/ansible-tmp-1589820234.526009-8477-276673029795140 && echo ansible-tmp-1589820234.526009-8477-276673029795140="` echo /root/.ansible/tmp/ansible-tmp-1589820234.526009-8477-276673029795140 `" ) && sleep 0'"'"'' | |
<10.110.100.13> (0, b'ansible-tmp-1589820234.526009-8477-276673029795140=/root/.ansible/tmp/ansible-tmp-1589820234.526009-8477-276673029795140\n', b'') | |
2020-05-18 18:43:54,593 INFO ansible: <10.110.100.13> (0, b'ansible-tmp-1589820234.526009-8477-276673029795140=/root/.ansible/tmp/ansible-tmp-1589820234.526009-8477-276673029795140\n', b'') | |
Using module file /home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ansible/modules/files/stat.py | |
2020-05-18 18:43:54,596 INFO ansible: Using module file /home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ansible/modules/files/stat.py | |
<10.110.100.13> PUT /home/xenlo/.ansible/tmp/ansible-local-8450dwrpzj7u/tmpir6vz3k8 TO /root/.ansible/tmp/ansible-tmp-1589820234.526009-8477-276673029795140/AnsiballZ_stat.py | |
2020-05-18 18:43:54,596 INFO ansible: <10.110.100.13> PUT /home/xenlo/.ansible/tmp/ansible-local-8450dwrpzj7u/tmpir6vz3k8 TO /root/.ansible/tmp/ansible-tmp-1589820234.526009-8477-276673029795140/AnsiballZ_stat.py | |
<10.110.100.13> SSH: EXEC sshpass -d11 sftp -o BatchMode=no -b - -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd '[10.110.100.13]' | |
2020-05-18 18:43:54,598 INFO ansible: <10.110.100.13> SSH: EXEC sshpass -d11 sftp -o BatchMode=no -b - -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd '[10.110.100.13]' | |
<10.110.100.13> (0, b'sftp> put /home/xenlo/.ansible/tmp/ansible-local-8450dwrpzj7u/tmpir6vz3k8 /root/.ansible/tmp/ansible-tmp-1589820234.526009-8477-276673029795140/AnsiballZ_stat.py\n', b'') | |
2020-05-18 18:43:54,789 INFO ansible: <10.110.100.13> (0, b'sftp> put /home/xenlo/.ansible/tmp/ansible-local-8450dwrpzj7u/tmpir6vz3k8 /root/.ansible/tmp/ansible-tmp-1589820234.526009-8477-276673029795140/AnsiballZ_stat.py\n', b'') | |
<10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
2020-05-18 18:43:54,790 INFO ansible: <10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
<10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd 10.110.100.13 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1589820234.526009-8477-276673029795140/ /root/.ansible/tmp/ansible-tmp-1589820234.526009-8477-276673029795140/AnsiballZ_stat.py && sleep 0'"'"'' | |
2020-05-18 18:43:54,791 INFO ansible: <10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd 10.110.100.13 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1589820234.526009-8477-276673029795140/ /root/.ansible/tmp/ansible-tmp-1589820234.526009-8477-276673029795140/AnsiballZ_stat.py && sleep 0'"'"'' | |
<10.110.100.13> (0, b'', b'') | |
2020-05-18 18:43:54,861 INFO ansible: <10.110.100.13> (0, b'', b'') | |
<10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
2020-05-18 18:43:54,861 INFO ansible: <10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
<10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd -tt 10.110.100.13 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1589820234.526009-8477-276673029795140/AnsiballZ_stat.py && sleep 0'"'"'' | |
2020-05-18 18:43:54,863 INFO ansible: <10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd -tt 10.110.100.13 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1589820234.526009-8477-276673029795140/AnsiballZ_stat.py && sleep 0'"'"'' | |
<10.110.100.13> (0, b'\r\n{"invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "path": "/etc/ansible/facts.d/a_second_key.fact", "get_md5": false, "get_mime": true, "get_attributes": true}}, "stat": {"charset": "us-ascii", "uid": 0, "exists": true, "attr_flags": "e", "woth": false, "isreg": true, "device_type": 0, "mtime": 1589812265.517715, "block_size": 4096, "inode": 1055163, "isgid": false, "size": 46, "executable": false, "isuid": false, "readable": true, "version": "1231294763", "pw_name": "root", "gid": 0, "ischr": false, "wusr": true, "writeable": true, "mimetype": "text/plain", "blocks": 8, "xoth": false, "islnk": false, "nlink": 1, "issock": false, "rgrp": true, "gr_name": "root", "path": "/etc/ansible/facts.d/a_second_key.fact", "xusr": false, "atime": 1589812270.9297152, "isdir": false, "ctime": 1589812266.0617151, "isblk": false, "wgrp": false, "checksum": "6c824b98c72d9ab0b9aaa72964608e1ae90406f3", "dev": 65024, "roth": true, "isfifo": false, "mode": "0644", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', b'Shared connection to 10.110.100.13 closed.\r\n') | |
2020-05-18 18:43:55,026 INFO ansible: <10.110.100.13> (0, b'\r\n{"invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "path": "/etc/ansible/facts.d/a_second_key.fact", "get_md5": false, "get_mime": true, "get_attributes": true}}, "stat": {"charset": "us-ascii", "uid": 0, "exists": true, "attr_flags": "e", "woth": false, "isreg": true, "device_type": 0, "mtime": 1589812265.517715, "block_size": 4096, "inode": 1055163, "isgid": false, "size": 46, "executable": false, "isuid": false, "readable": true, "version": "1231294763", "pw_name": "root", "gid": 0, "ischr": false, "wusr": true, "writeable": true, "mimetype": "text/plain", "blocks": 8, "xoth": false, "islnk": false, "nlink": 1, "issock": false, "rgrp": true, "gr_name": "root", "path": "/etc/ansible/facts.d/a_second_key.fact", "xusr": false, "atime": 1589812270.9297152, "isdir": false, "ctime": 1589812266.0617151, "isblk": false, "wgrp": false, "checksum": "6c824b98c72d9ab0b9aaa72964608e1ae90406f3", "dev": 65024, "roth": true, "isfifo": false, "mode": "0644", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', b'Shared connection to 10.110.100.13 closed.\r\n') | |
Using module file /home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ansible/modules/files/file.py | |
2020-05-18 18:43:55,030 INFO ansible: Using module file /home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ansible/modules/files/file.py | |
<10.110.100.13> PUT /home/xenlo/.ansible/tmp/ansible-local-8450dwrpzj7u/tmp8wjakreh TO /root/.ansible/tmp/ansible-tmp-1589820234.526009-8477-276673029795140/AnsiballZ_file.py | |
2020-05-18 18:43:55,030 INFO ansible: <10.110.100.13> PUT /home/xenlo/.ansible/tmp/ansible-local-8450dwrpzj7u/tmp8wjakreh TO /root/.ansible/tmp/ansible-tmp-1589820234.526009-8477-276673029795140/AnsiballZ_file.py | |
<10.110.100.13> SSH: EXEC sshpass -d11 sftp -o BatchMode=no -b - -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd '[10.110.100.13]' | |
2020-05-18 18:43:55,032 INFO ansible: <10.110.100.13> SSH: EXEC sshpass -d11 sftp -o BatchMode=no -b - -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd '[10.110.100.13]' | |
<10.110.100.13> (0, b'sftp> put /home/xenlo/.ansible/tmp/ansible-local-8450dwrpzj7u/tmp8wjakreh /root/.ansible/tmp/ansible-tmp-1589820234.526009-8477-276673029795140/AnsiballZ_file.py\n', b'') | |
2020-05-18 18:43:55,234 INFO ansible: <10.110.100.13> (0, b'sftp> put /home/xenlo/.ansible/tmp/ansible-local-8450dwrpzj7u/tmp8wjakreh /root/.ansible/tmp/ansible-tmp-1589820234.526009-8477-276673029795140/AnsiballZ_file.py\n', b'') | |
<10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
2020-05-18 18:43:55,235 INFO ansible: <10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
<10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd 10.110.100.13 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1589820234.526009-8477-276673029795140/ /root/.ansible/tmp/ansible-tmp-1589820234.526009-8477-276673029795140/AnsiballZ_file.py && sleep 0'"'"'' | |
2020-05-18 18:43:55,237 INFO ansible: <10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd 10.110.100.13 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1589820234.526009-8477-276673029795140/ /root/.ansible/tmp/ansible-tmp-1589820234.526009-8477-276673029795140/AnsiballZ_file.py && sleep 0'"'"'' | |
<10.110.100.13> (0, b'', b'') | |
2020-05-18 18:43:55,311 INFO ansible: <10.110.100.13> (0, b'', b'') | |
<10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
2020-05-18 18:43:55,311 INFO ansible: <10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
<10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd -tt 10.110.100.13 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1589820234.526009-8477-276673029795140/AnsiballZ_file.py && sleep 0'"'"'' | |
2020-05-18 18:43:55,314 INFO ansible: <10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd -tt 10.110.100.13 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1589820234.526009-8477-276673029795140/AnsiballZ_file.py && sleep 0'"'"'' | |
<10.110.100.13> (0, b'\r\n{"group": "root", "uid": 0, "changed": false, "owner": "root", "state": "file", "gid": 0, "mode": "0644", "path": "/etc/ansible/facts.d/a_second_key.fact", "invocation": {"module_args": {"directory_mode": null, "force": false, "remote_src": null, "_original_basename": "tmpdq1xpfwa", "path": "/etc/ansible/facts.d/a_second_key.fact", "owner": null, "follow": true, "group": null, "unsafe_writes": null, "setype": null, "content": null, "serole": null, "selevel": null, "state": "file", "dest": "/etc/ansible/facts.d/a_second_key.fact", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "modification_time": null, "regexp": null, "src": null, "seuser": null, "recurse": false, "_diff_peek": null, "delimiter": null, "mode": null, "modification_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null}}, "diff": {"after": {"path": "/etc/ansible/facts.d/a_second_key.fact"}, "before": {"path": "/etc/ansible/facts.d/a_second_key.fact"}}, "size": 46}\r\n', b'Shared connection to 10.110.100.13 closed.\r\n') | |
2020-05-18 18:43:55,467 INFO ansible: <10.110.100.13> (0, b'\r\n{"group": "root", "uid": 0, "changed": false, "owner": "root", "state": "file", "gid": 0, "mode": "0644", "path": "/etc/ansible/facts.d/a_second_key.fact", "invocation": {"module_args": {"directory_mode": null, "force": false, "remote_src": null, "_original_basename": "tmpdq1xpfwa", "path": "/etc/ansible/facts.d/a_second_key.fact", "owner": null, "follow": true, "group": null, "unsafe_writes": null, "setype": null, "content": null, "serole": null, "selevel": null, "state": "file", "dest": "/etc/ansible/facts.d/a_second_key.fact", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "modification_time": null, "regexp": null, "src": null, "seuser": null, "recurse": false, "_diff_peek": null, "delimiter": null, "mode": null, "modification_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null}}, "diff": {"after": {"path": "/etc/ansible/facts.d/a_second_key.fact"}, "before": {"path": "/etc/ansible/facts.d/a_second_key.fact"}}, "size": 46}\r\n', b'Shared connection to 10.110.100.13 closed.\r\n') | |
<10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
2020-05-18 18:43:55,468 INFO ansible: <10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
<10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd 10.110.100.13 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1589820234.526009-8477-276673029795140/ > /dev/null 2>&1 && sleep 0'"'"'' | |
2020-05-18 18:43:55,470 INFO ansible: <10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd 10.110.100.13 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1589820234.526009-8477-276673029795140/ > /dev/null 2>&1 && sleep 0'"'"'' | |
<10.110.100.13> (0, b'', b'') | |
2020-05-18 18:43:55,544 INFO ansible: <10.110.100.13> (0, b'', b'') | |
ok: [my_little_host] => (item={'key': 'a_second_key', 'value': ['this', 'is', 'a', 'list']}) => changed=false | |
ansible_loop_var: item | |
checksum: 6c824b98c72d9ab0b9aaa72964608e1ae90406f3 | |
dest: /etc/ansible/facts.d/a_second_key.fact | |
diff: | |
after: | |
path: /etc/ansible/facts.d/a_second_key.fact | |
before: | |
path: /etc/ansible/facts.d/a_second_key.fact | |
gid: 0 | |
group: root | |
invocation: | |
module_args: | |
_diff_peek: null | |
_original_basename: tmpdq1xpfwa | |
access_time: null | |
access_time_format: '%Y%m%d%H%M.%S' | |
attributes: null | |
backup: null | |
content: null | |
delimiter: null | |
dest: /etc/ansible/facts.d/a_second_key.fact | |
directory_mode: null | |
follow: true | |
force: false | |
group: null | |
mode: null | |
modification_time: null | |
modification_time_format: '%Y%m%d%H%M.%S' | |
owner: null | |
path: /etc/ansible/facts.d/a_second_key.fact | |
recurse: false | |
regexp: null | |
remote_src: null | |
selevel: null | |
serole: null | |
setype: null | |
seuser: null | |
src: null | |
state: file | |
unsafe_writes: null | |
item: | |
key: a_second_key | |
value: | |
- this | |
- is | |
- a | |
- list | |
mode: '0644' | |
owner: root | |
path: /etc/ansible/facts.d/a_second_key.fact | |
size: 46 | |
state: file | |
uid: 0 | |
2020-05-18 18:43:55,573 INFO ansible: ok: [my_little_host] => (item={'key': 'a_second_key', 'value': ['this', 'is', 'a', 'list']}) => changed=false | |
ansible_loop_var: item | |
checksum: 6c824b98c72d9ab0b9aaa72964608e1ae90406f3 | |
dest: /etc/ansible/facts.d/a_second_key.fact | |
diff: | |
after: | |
path: /etc/ansible/facts.d/a_second_key.fact | |
before: | |
path: /etc/ansible/facts.d/a_second_key.fact | |
gid: 0 | |
group: root | |
invocation: | |
module_args: | |
_diff_peek: null | |
_original_basename: tmpdq1xpfwa | |
access_time: null | |
access_time_format: '%Y%m%d%H%M.%S' | |
attributes: null | |
backup: null | |
content: null | |
delimiter: null | |
dest: /etc/ansible/facts.d/a_second_key.fact | |
directory_mode: null | |
follow: true | |
force: false | |
group: null | |
mode: null | |
modification_time: null | |
modification_time_format: '%Y%m%d%H%M.%S' | |
owner: null | |
path: /etc/ansible/facts.d/a_second_key.fact | |
recurse: false | |
regexp: null | |
remote_src: null | |
selevel: null | |
serole: null | |
setype: null | |
seuser: null | |
src: null | |
state: file | |
unsafe_writes: null | |
item: | |
key: a_second_key | |
value: | |
- this | |
- is | |
- a | |
- list | |
mode: '0644' | |
owner: root | |
path: /etc/ansible/facts.d/a_second_key.fact | |
size: 46 | |
state: file | |
uid: 0 | |
<10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
2020-05-18 18:43:55,602 INFO ansible: <10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
<10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd 10.110.100.13 '/bin/sh -c '"'"'echo ~root && sleep 0'"'"'' | |
2020-05-18 18:43:55,604 INFO ansible: <10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd 10.110.100.13 '/bin/sh -c '"'"'echo ~root && sleep 0'"'"'' | |
<10.110.100.13> (0, b'/root\n', b'') | |
2020-05-18 18:43:55,669 INFO ansible: <10.110.100.13> (0, b'/root\n', b'') | |
<10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
2020-05-18 18:43:55,670 INFO ansible: <10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
<10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd 10.110.100.13 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir /root/.ansible/tmp/ansible-tmp-1589820235.6699958-8477-263555961278535 && echo ansible-tmp-1589820235.6699958-8477-263555961278535="` echo /root/.ansible/tmp/ansible-tmp-1589820235.6699958-8477-263555961278535 `" ) && sleep 0'"'"'' | |
2020-05-18 18:43:55,671 INFO ansible: <10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd 10.110.100.13 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir /root/.ansible/tmp/ansible-tmp-1589820235.6699958-8477-263555961278535 && echo ansible-tmp-1589820235.6699958-8477-263555961278535="` echo /root/.ansible/tmp/ansible-tmp-1589820235.6699958-8477-263555961278535 `" ) && sleep 0'"'"'' | |
<10.110.100.13> (0, b'ansible-tmp-1589820235.6699958-8477-263555961278535=/root/.ansible/tmp/ansible-tmp-1589820235.6699958-8477-263555961278535\n', b'') | |
2020-05-18 18:43:55,743 INFO ansible: <10.110.100.13> (0, b'ansible-tmp-1589820235.6699958-8477-263555961278535=/root/.ansible/tmp/ansible-tmp-1589820235.6699958-8477-263555961278535\n', b'') | |
Using module file /home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ansible/modules/files/stat.py | |
2020-05-18 18:43:55,746 INFO ansible: Using module file /home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ansible/modules/files/stat.py | |
<10.110.100.13> PUT /home/xenlo/.ansible/tmp/ansible-local-8450dwrpzj7u/tmp6n1z0rsm TO /root/.ansible/tmp/ansible-tmp-1589820235.6699958-8477-263555961278535/AnsiballZ_stat.py | |
2020-05-18 18:43:55,746 INFO ansible: <10.110.100.13> PUT /home/xenlo/.ansible/tmp/ansible-local-8450dwrpzj7u/tmp6n1z0rsm TO /root/.ansible/tmp/ansible-tmp-1589820235.6699958-8477-263555961278535/AnsiballZ_stat.py | |
<10.110.100.13> SSH: EXEC sshpass -d11 sftp -o BatchMode=no -b - -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd '[10.110.100.13]' | |
2020-05-18 18:43:55,747 INFO ansible: <10.110.100.13> SSH: EXEC sshpass -d11 sftp -o BatchMode=no -b - -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd '[10.110.100.13]' | |
<10.110.100.13> (0, b'sftp> put /home/xenlo/.ansible/tmp/ansible-local-8450dwrpzj7u/tmp6n1z0rsm /root/.ansible/tmp/ansible-tmp-1589820235.6699958-8477-263555961278535/AnsiballZ_stat.py\n', b'') | |
2020-05-18 18:43:55,948 INFO ansible: <10.110.100.13> (0, b'sftp> put /home/xenlo/.ansible/tmp/ansible-local-8450dwrpzj7u/tmp6n1z0rsm /root/.ansible/tmp/ansible-tmp-1589820235.6699958-8477-263555961278535/AnsiballZ_stat.py\n', b'') | |
<10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
2020-05-18 18:43:55,949 INFO ansible: <10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
<10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd 10.110.100.13 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1589820235.6699958-8477-263555961278535/ /root/.ansible/tmp/ansible-tmp-1589820235.6699958-8477-263555961278535/AnsiballZ_stat.py && sleep 0'"'"'' | |
2020-05-18 18:43:55,950 INFO ansible: <10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd 10.110.100.13 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1589820235.6699958-8477-263555961278535/ /root/.ansible/tmp/ansible-tmp-1589820235.6699958-8477-263555961278535/AnsiballZ_stat.py && sleep 0'"'"'' | |
<10.110.100.13> (0, b'', b'') | |
2020-05-18 18:43:56,018 INFO ansible: <10.110.100.13> (0, b'', b'') | |
<10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
2020-05-18 18:43:56,019 INFO ansible: <10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
<10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd -tt 10.110.100.13 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1589820235.6699958-8477-263555961278535/AnsiballZ_stat.py && sleep 0'"'"'' | |
2020-05-18 18:43:56,020 INFO ansible: <10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd -tt 10.110.100.13 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1589820235.6699958-8477-263555961278535/AnsiballZ_stat.py && sleep 0'"'"'' | |
<10.110.100.13> (0, b'\r\n{"invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "path": "/etc/ansible/facts.d/third_key.fact", "get_md5": false, "get_mime": true, "get_attributes": true}}, "stat": {"charset": "us-ascii", "uid": 0, "exists": true, "attr_flags": "e", "woth": false, "isreg": true, "device_type": 0, "mtime": 1589812266.9657152, "block_size": 4096, "inode": 1055168, "isgid": false, "size": 66, "executable": false, "isuid": false, "readable": true, "version": "1231294773", "pw_name": "root", "gid": 0, "ischr": false, "wusr": true, "writeable": true, "mimetype": "text/plain", "blocks": 8, "xoth": false, "islnk": false, "nlink": 1, "issock": false, "rgrp": true, "gr_name": "root", "path": "/etc/ansible/facts.d/third_key.fact", "xusr": false, "atime": 1589812270.9297152, "isdir": false, "ctime": 1589812267.529715, "isblk": false, "wgrp": false, "checksum": "60311066979476de946387ebef48a7f65f16e329", "dev": 65024, "roth": true, "isfifo": false, "mode": "0644", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', b'Shared connection to 10.110.100.13 closed.\r\n') | |
2020-05-18 18:43:56,176 INFO ansible: <10.110.100.13> (0, b'\r\n{"invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "path": "/etc/ansible/facts.d/third_key.fact", "get_md5": false, "get_mime": true, "get_attributes": true}}, "stat": {"charset": "us-ascii", "uid": 0, "exists": true, "attr_flags": "e", "woth": false, "isreg": true, "device_type": 0, "mtime": 1589812266.9657152, "block_size": 4096, "inode": 1055168, "isgid": false, "size": 66, "executable": false, "isuid": false, "readable": true, "version": "1231294773", "pw_name": "root", "gid": 0, "ischr": false, "wusr": true, "writeable": true, "mimetype": "text/plain", "blocks": 8, "xoth": false, "islnk": false, "nlink": 1, "issock": false, "rgrp": true, "gr_name": "root", "path": "/etc/ansible/facts.d/third_key.fact", "xusr": false, "atime": 1589812270.9297152, "isdir": false, "ctime": 1589812267.529715, "isblk": false, "wgrp": false, "checksum": "60311066979476de946387ebef48a7f65f16e329", "dev": 65024, "roth": true, "isfifo": false, "mode": "0644", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', b'Shared connection to 10.110.100.13 closed.\r\n') | |
Using module file /home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ansible/modules/files/file.py | |
2020-05-18 18:43:56,179 INFO ansible: Using module file /home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ansible/modules/files/file.py | |
<10.110.100.13> PUT /home/xenlo/.ansible/tmp/ansible-local-8450dwrpzj7u/tmpjnm1wxoz TO /root/.ansible/tmp/ansible-tmp-1589820235.6699958-8477-263555961278535/AnsiballZ_file.py | |
2020-05-18 18:43:56,180 INFO ansible: <10.110.100.13> PUT /home/xenlo/.ansible/tmp/ansible-local-8450dwrpzj7u/tmpjnm1wxoz TO /root/.ansible/tmp/ansible-tmp-1589820235.6699958-8477-263555961278535/AnsiballZ_file.py | |
<10.110.100.13> SSH: EXEC sshpass -d11 sftp -o BatchMode=no -b - -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd '[10.110.100.13]' | |
2020-05-18 18:43:56,181 INFO ansible: <10.110.100.13> SSH: EXEC sshpass -d11 sftp -o BatchMode=no -b - -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd '[10.110.100.13]' | |
<10.110.100.13> (0, b'sftp> put /home/xenlo/.ansible/tmp/ansible-local-8450dwrpzj7u/tmpjnm1wxoz /root/.ansible/tmp/ansible-tmp-1589820235.6699958-8477-263555961278535/AnsiballZ_file.py\n', b'') | |
2020-05-18 18:43:56,385 INFO ansible: <10.110.100.13> (0, b'sftp> put /home/xenlo/.ansible/tmp/ansible-local-8450dwrpzj7u/tmpjnm1wxoz /root/.ansible/tmp/ansible-tmp-1589820235.6699958-8477-263555961278535/AnsiballZ_file.py\n', b'') | |
<10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
2020-05-18 18:43:56,385 INFO ansible: <10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
<10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd 10.110.100.13 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1589820235.6699958-8477-263555961278535/ /root/.ansible/tmp/ansible-tmp-1589820235.6699958-8477-263555961278535/AnsiballZ_file.py && sleep 0'"'"'' | |
2020-05-18 18:43:56,387 INFO ansible: <10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd 10.110.100.13 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1589820235.6699958-8477-263555961278535/ /root/.ansible/tmp/ansible-tmp-1589820235.6699958-8477-263555961278535/AnsiballZ_file.py && sleep 0'"'"'' | |
<10.110.100.13> (0, b'', b'') | |
2020-05-18 18:43:56,455 INFO ansible: <10.110.100.13> (0, b'', b'') | |
<10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
2020-05-18 18:43:56,455 INFO ansible: <10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
<10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd -tt 10.110.100.13 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1589820235.6699958-8477-263555961278535/AnsiballZ_file.py && sleep 0'"'"'' | |
2020-05-18 18:43:56,457 INFO ansible: <10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd -tt 10.110.100.13 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1589820235.6699958-8477-263555961278535/AnsiballZ_file.py && sleep 0'"'"'' | |
<10.110.100.13> (0, b'\r\n{"group": "root", "uid": 0, "changed": false, "owner": "root", "state": "file", "gid": 0, "mode": "0644", "path": "/etc/ansible/facts.d/third_key.fact", "invocation": {"module_args": {"directory_mode": null, "force": false, "remote_src": null, "_original_basename": "tmpkju4nxle", "path": "/etc/ansible/facts.d/third_key.fact", "owner": null, "follow": true, "group": null, "unsafe_writes": null, "setype": null, "content": null, "serole": null, "selevel": null, "state": "file", "dest": "/etc/ansible/facts.d/third_key.fact", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "modification_time": null, "regexp": null, "src": null, "seuser": null, "recurse": false, "_diff_peek": null, "delimiter": null, "mode": null, "modification_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null}}, "diff": {"after": {"path": "/etc/ansible/facts.d/third_key.fact"}, "before": {"path": "/etc/ansible/facts.d/third_key.fact"}}, "size": 66}\r\n', b'Shared connection to 10.110.100.13 closed.\r\n') | |
2020-05-18 18:43:56,620 INFO ansible: <10.110.100.13> (0, b'\r\n{"group": "root", "uid": 0, "changed": false, "owner": "root", "state": "file", "gid": 0, "mode": "0644", "path": "/etc/ansible/facts.d/third_key.fact", "invocation": {"module_args": {"directory_mode": null, "force": false, "remote_src": null, "_original_basename": "tmpkju4nxle", "path": "/etc/ansible/facts.d/third_key.fact", "owner": null, "follow": true, "group": null, "unsafe_writes": null, "setype": null, "content": null, "serole": null, "selevel": null, "state": "file", "dest": "/etc/ansible/facts.d/third_key.fact", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "modification_time": null, "regexp": null, "src": null, "seuser": null, "recurse": false, "_diff_peek": null, "delimiter": null, "mode": null, "modification_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null}}, "diff": {"after": {"path": "/etc/ansible/facts.d/third_key.fact"}, "before": {"path": "/etc/ansible/facts.d/third_key.fact"}}, "size": 66}\r\n', b'Shared connection to 10.110.100.13 closed.\r\n') | |
<10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
2020-05-18 18:43:56,622 INFO ansible: <10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
<10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd 10.110.100.13 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1589820235.6699958-8477-263555961278535/ > /dev/null 2>&1 && sleep 0'"'"'' | |
2020-05-18 18:43:56,623 INFO ansible: <10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd 10.110.100.13 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1589820235.6699958-8477-263555961278535/ > /dev/null 2>&1 && sleep 0'"'"'' | |
<10.110.100.13> (0, b'', b'') | |
2020-05-18 18:43:56,694 INFO ansible: <10.110.100.13> (0, b'', b'') | |
ok: [my_little_host] => (item={'key': 'third_key', 'value': {'one': 'and try', 'two': 'a dict', 'three': 'too'}}) => changed=false | |
ansible_loop_var: item | |
checksum: 60311066979476de946387ebef48a7f65f16e329 | |
dest: /etc/ansible/facts.d/third_key.fact | |
diff: | |
after: | |
path: /etc/ansible/facts.d/third_key.fact | |
before: | |
path: /etc/ansible/facts.d/third_key.fact | |
gid: 0 | |
group: root | |
invocation: | |
module_args: | |
_diff_peek: null | |
_original_basename: tmpkju4nxle | |
access_time: null | |
access_time_format: '%Y%m%d%H%M.%S' | |
attributes: null | |
backup: null | |
content: null | |
delimiter: null | |
dest: /etc/ansible/facts.d/third_key.fact | |
directory_mode: null | |
follow: true | |
force: false | |
group: null | |
mode: null | |
modification_time: null | |
modification_time_format: '%Y%m%d%H%M.%S' | |
owner: null | |
path: /etc/ansible/facts.d/third_key.fact | |
recurse: false | |
regexp: null | |
remote_src: null | |
selevel: null | |
serole: null | |
setype: null | |
seuser: null | |
src: null | |
state: file | |
unsafe_writes: null | |
item: | |
key: third_key | |
value: | |
one: and try | |
three: too | |
two: a dict | |
mode: '0644' | |
owner: root | |
path: /etc/ansible/facts.d/third_key.fact | |
size: 66 | |
state: file | |
uid: 0 | |
2020-05-18 18:43:56,723 INFO ansible: ok: [my_little_host] => (item={'key': 'third_key', 'value': {'one': 'and try', 'two': 'a dict', 'three': 'too'}}) => changed=false | |
ansible_loop_var: item | |
checksum: 60311066979476de946387ebef48a7f65f16e329 | |
dest: /etc/ansible/facts.d/third_key.fact | |
diff: | |
after: | |
path: /etc/ansible/facts.d/third_key.fact | |
before: | |
path: /etc/ansible/facts.d/third_key.fact | |
gid: 0 | |
group: root | |
invocation: | |
module_args: | |
_diff_peek: null | |
_original_basename: tmpkju4nxle | |
access_time: null | |
access_time_format: '%Y%m%d%H%M.%S' | |
attributes: null | |
backup: null | |
content: null | |
delimiter: null | |
dest: /etc/ansible/facts.d/third_key.fact | |
directory_mode: null | |
follow: true | |
force: false | |
group: null | |
mode: null | |
modification_time: null | |
modification_time_format: '%Y%m%d%H%M.%S' | |
owner: null | |
path: /etc/ansible/facts.d/third_key.fact | |
recurse: false | |
regexp: null | |
remote_src: null | |
selevel: null | |
serole: null | |
setype: null | |
seuser: null | |
src: null | |
state: file | |
unsafe_writes: null | |
item: | |
key: third_key | |
value: | |
one: and try | |
three: too | |
two: a dict | |
mode: '0644' | |
owner: root | |
path: /etc/ansible/facts.d/third_key.fact | |
size: 66 | |
state: file | |
uid: 0 | |
Callback Exception: | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ansible/executor/task_queue_manager.py", line 324, in send_callback | |
method(*new_args, **kwargs) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 295, in v2_runner_on_ok | |
self._load_result(result, "ok", **kwargs) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 385, in _load_result | |
host = self._get_or_create_host(result._host.get_name()) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 375, in _get_or_create_host | |
self.host_cache[host] = self.client.post("/api/v1/hosts", name=host, playbook=self.playbook["id"]) | |
2020-05-18 18:43:56,728 INFO ansible: Callback Exception: | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ansible/executor/task_queue_manager.py", line 324, in send_callback | |
method(*new_args, **kwargs) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 295, in v2_runner_on_ok | |
self._load_result(result, "ok", **kwargs) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 385, in _load_result | |
host = self._get_or_create_host(result._host.get_name()) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 375, in _get_or_create_host | |
self.host_cache[host] = self.client.post("/api/v1/hosts", name=host, playbook=self.playbook["id"]) | |
TASK [Gather the facts] ******************************************************************************************************************************************************************************************************************************************************* | |
2020-05-18 18:43:56,750 INFO ansible: TASK [Gather the facts] ******************************************************************************************************************************************************************************************************************************************************* | |
task path: /home/xenlo/Projects/378/playground/set_local_facts.yml:28 | |
Callback Exception: | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ansible/executor/task_queue_manager.py", line 324, in send_callback | |
method(*new_args, **kwargs) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 276, in v2_playbook_on_task_start | |
task_file = self._get_or_create_file(path) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 366, in _get_or_create_file | |
"/api/v1/files", playbook=self.playbook["id"], path=path, content=content | |
2020-05-18 18:43:56,751 INFO ansible: Callback Exception: | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ansible/executor/task_queue_manager.py", line 324, in send_callback | |
method(*new_args, **kwargs) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 276, in v2_playbook_on_task_start | |
task_file = self._get_or_create_file(path) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 366, in _get_or_create_file | |
"/api/v1/files", playbook=self.playbook["id"], path=path, content=content | |
Monday 18 May 2020 18:43:56 +0200 (0:00:03.963) 0:00:05.926 ************ | |
2020-05-18 18:43:56,752 INFO ansible: Monday 18 May 2020 18:43:56 +0200 (0:00:03.963) 0:00:05.926 ************ | |
<10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
2020-05-18 18:43:56,912 INFO ansible: <10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
<10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd 10.110.100.13 '/bin/sh -c '"'"'echo ~root && sleep 0'"'"'' | |
2020-05-18 18:43:56,919 INFO ansible: <10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd 10.110.100.13 '/bin/sh -c '"'"'echo ~root && sleep 0'"'"'' | |
<10.110.100.13> (0, b'/root\n', b'') | |
2020-05-18 18:43:56,985 INFO ansible: <10.110.100.13> (0, b'/root\n', b'') | |
<10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
2020-05-18 18:43:56,986 INFO ansible: <10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
<10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd 10.110.100.13 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir /root/.ansible/tmp/ansible-tmp-1589820236.9861908-8540-3686583808635 && echo ansible-tmp-1589820236.9861908-8540-3686583808635="` echo /root/.ansible/tmp/ansible-tmp-1589820236.9861908-8540-3686583808635 `" ) && sleep 0'"'"'' | |
2020-05-18 18:43:56,987 INFO ansible: <10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd 10.110.100.13 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir /root/.ansible/tmp/ansible-tmp-1589820236.9861908-8540-3686583808635 && echo ansible-tmp-1589820236.9861908-8540-3686583808635="` echo /root/.ansible/tmp/ansible-tmp-1589820236.9861908-8540-3686583808635 `" ) && sleep 0'"'"'' | |
<10.110.100.13> (0, b'ansible-tmp-1589820236.9861908-8540-3686583808635=/root/.ansible/tmp/ansible-tmp-1589820236.9861908-8540-3686583808635\n', b'') | |
2020-05-18 18:43:57,056 INFO ansible: <10.110.100.13> (0, b'ansible-tmp-1589820236.9861908-8540-3686583808635=/root/.ansible/tmp/ansible-tmp-1589820236.9861908-8540-3686583808635\n', b'') | |
Using module file /home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ansible/modules/system/setup.py | |
2020-05-18 18:43:57,835 INFO ansible: Using module file /home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ansible/modules/system/setup.py | |
<10.110.100.13> PUT /home/xenlo/.ansible/tmp/ansible-local-8450dwrpzj7u/tmp3q58tggi TO /root/.ansible/tmp/ansible-tmp-1589820236.9861908-8540-3686583808635/AnsiballZ_setup.py | |
2020-05-18 18:43:57,836 INFO ansible: <10.110.100.13> PUT /home/xenlo/.ansible/tmp/ansible-local-8450dwrpzj7u/tmp3q58tggi TO /root/.ansible/tmp/ansible-tmp-1589820236.9861908-8540-3686583808635/AnsiballZ_setup.py | |
<10.110.100.13> SSH: EXEC sshpass -d11 sftp -o BatchMode=no -b - -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd '[10.110.100.13]' | |
2020-05-18 18:43:57,837 INFO ansible: <10.110.100.13> SSH: EXEC sshpass -d11 sftp -o BatchMode=no -b - -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd '[10.110.100.13]' | |
<10.110.100.13> (0, b'sftp> put /home/xenlo/.ansible/tmp/ansible-local-8450dwrpzj7u/tmp3q58tggi /root/.ansible/tmp/ansible-tmp-1589820236.9861908-8540-3686583808635/AnsiballZ_setup.py\n', b'') | |
2020-05-18 18:43:58,065 INFO ansible: <10.110.100.13> (0, b'sftp> put /home/xenlo/.ansible/tmp/ansible-local-8450dwrpzj7u/tmp3q58tggi /root/.ansible/tmp/ansible-tmp-1589820236.9861908-8540-3686583808635/AnsiballZ_setup.py\n', b'') | |
<10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
2020-05-18 18:43:58,066 INFO ansible: <10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
<10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd 10.110.100.13 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1589820236.9861908-8540-3686583808635/ /root/.ansible/tmp/ansible-tmp-1589820236.9861908-8540-3686583808635/AnsiballZ_setup.py && sleep 0'"'"'' | |
2020-05-18 18:43:58,069 INFO ansible: <10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd 10.110.100.13 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1589820236.9861908-8540-3686583808635/ /root/.ansible/tmp/ansible-tmp-1589820236.9861908-8540-3686583808635/AnsiballZ_setup.py && sleep 0'"'"'' | |
<10.110.100.13> (0, b'', b'') | |
2020-05-18 18:43:58,148 INFO ansible: <10.110.100.13> (0, b'', b'') | |
<10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
2020-05-18 18:43:58,148 INFO ansible: <10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
<10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd -tt 10.110.100.13 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1589820236.9861908-8540-3686583808635/AnsiballZ_setup.py && sleep 0'"'"'' | |
2020-05-18 18:43:58,150 INFO ansible: <10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd -tt 10.110.100.13 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1589820236.9861908-8540-3686583808635/AnsiballZ_setup.py && sleep 0'"'"'' | |
<10.110.100.13> (0, b'\r\n{"invocation": {"module_args": {"filter": "*", "gather_subset": ["all"], "fact_path": "/etc/ansible/facts.d", "gather_timeout": 10}}, "ansible_facts": {"ansible_fibre_channel_wwn": [], "module_setup": true, "ansible_distribution_version": "15", "ansible_distribution_file_variety": "SUSE", "ansible_env": {"CPU": "x86_64", "LIBGL_DEBUG": "quiet", "MINICOM": "-c on", "CSHEDIT": "emacs", "HOSTTYPE": "x86_64", "SSH_CLIENT": "10.100.244.224 51641 22", "LOGNAME": "root", "USER": "root", "PATH": "/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/bin", "HOME": "/root", "XKEYSYMDB": "/usr/X11R6/lib/X11/XKeysymDB", "SSH_CONNECTION": "10.100.244.224 51641 10.110.100.13 22", "LANG": "fr_BE.UTF-8", "TERM": "xterm", "SHELL": "/bin/bash", "XDG_DATA_DIRS": "/usr/share", "XDG_SESSION_ID": "32", "G_BROKEN_FILENAMES": "1", "HISTSIZE": "1000", "MANPATH": "", "OSTYPE": "linux", "PROFILEREAD": "true", "XDG_RUNTIME_DIR": "/run/user/0", "G_FILENAME_ENCODING": "@locale,UTF-8,ISO-8859-15,CP1252", "HOST": "my_little_host", "GPG_TTY": "/dev/pts/0", "XNLSPATH": "/usr/X11R6/lib/X11/nls", "DBUS_SESSION_BUS_ADDRESS": "unix:path=/run/user/0/bus", "_": "/usr/bin/python", "FROM_HEADER": "", "XDG_CONFIG_DIRS": "/etc/xdg", "SSH_TTY": "/dev/pts/0", "HOSTNAME": "my_little_host", "WINDOWMANAGER": "xterm", "SSH_SENDS_LOCALE": "yes", "SHLVL": "2", "PWD": "/root", "COLORTERM": "1", "MAIL": "/var/mail/root", "MACHTYPE": "x86_64-suse-linux"}, "ansible_userspace_bits": "64", "ansible_architecture": "x86_64", "ansible_default_ipv4": {"macaddress": "52:54:0a:6e:64:0d", "network": "10.110.100.0", "mtu": 1500, "broadcast": "10.110.100.255", "alias": "eth0", "netmask": "255.255.255.0", "address": "10.110.100.13", "interface": "eth0", "type": "ether", "gateway": "10.110.100.1"}, "ansible_swapfree_mb": 2047, "ansible_default_ipv6": {}, "ansible_cmdline": {"ksdevice": "bootif", "BOOT_IMAGE": "/boot/vmlinuz-4.12.14-23-default", "resume": "/dev/system/swap", "text": true, "showopts": true, "quiet": true, "splash": "silent", "crashkernel": "256M-2G:64M,2G-:128M", "root": "/dev/mapper/system-root"}, "ansible_machine_id": "1378b26407af4616862c995b71a8e187", "ansible_userspace_architecture": "x86_64", "ansible_product_uuid": "1378B264-07AF-4616-862C-995B71A8E187", "ansible_pkg_mgr": "zypper", "ansible_distribution": "SLES", "ansible_iscsi_iqn": "", "ansible_all_ipv6_addresses": ["fe80::5054:aff:fe6e:640d"], "ansible_uptime_seconds": 25412, "ansible_kernel": "4.12.14-23-default", "ansible_python": {"executable": "/usr/bin/python", "version": {"micro": 14, "major": 2, "releaselevel": "final", "serial": 0, "minor": 7}, "type": "CPython", "has_sslcontext": false, "version_info": [2, 7, 14, "final", 0]}, "ansible_is_chroot": false, "ansible_hostnqn": "", "ansible_user_shell": "/bin/bash", "ansible_product_serial": "NA", "ansible_form_factor": "Other", "ansible_distribution_file_parsed": true, "ansible_fips": false, "ansible_user_id": "root", "ansible_selinux_python_present": false, "ansible_kernel_version": "#1 SMP Tue May 29 21:04:44 UTC 2018 (cd0437b)", "ansible_local": {"a_second_key": ["this", "is", "a", "list"], "third_key": {"one": "and try", "three": "too", "two": "a dict"}, "my_first_key": "my_value"}, "ansible_processor_vcpus": 1, "ansible_processor": ["0", "GenuineIntel", "Common KVM processor"], "ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBAM64Z+bnq/4bqSzeSEzEdA8Wpc2FvaglGmUYcD753G4Ne0xuO4Ncq4ai8jW/8joAV/qfgRWcxIGEH23JI+jqPc=", "ansible_user_gid": 0, "ansible_system_vendor": "QEMU", "ansible_swaptotal_mb": 2047, "ansible_distribution_major_version": "15", "ansible_real_group_id": 0, "ansible_lsb": {}, "ansible_machine": "x86_64", "ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDCUq4elKH4giD71e4yWDfcyj4LIDTby5nsexfvRzGmkCL0f7cZn0HP46IWT1GwxnoXHDcXfvCLdEzLK1ZEyg8JLUCzc3yY8Ve3zXRDoWdW1JGoyYGwPfc0YHewZSh98FtETxoNq6QebziGYyujXHR9FvrUoQ++DS1JVoS3Ma39Eqn28QfU3JJUcjvcfLBwhV3ldSAy7j8ydEsx3bbnUObNPHISQuhNtBFY6uyjiRatbP2rKXg5lybhvqSNnlan8TbPeCyQFmmhKHoXdEzMzVUYGFK8dKAKr5pdw7ajP5pIUcN16Nfs/gdm+O1A/LPsDyxoAmD2KNu8h+2jf2hWX5eZ", "ansible_user_gecos": "root", "ansible_processor_threads_per_core": 1, "ansible_eth0": {"macaddress": "52:54:0a:6e:64:0d", "type": "ether", "pciid": "virtio1", "module": "virtio_net", "mtu": 1500, "device": "eth0", "promisc": false, "ipv4": {"broadcast": "10.110.100.255", "netmask": "255.255.255.0", "network": "10.110.100.0", "address": "10.110.100.13"}, "ipv6": [{"scope": "link", "prefix": "64", "address": "fe80::5054:aff:fe6e:640d"}], "active": true, "speed": -1}, "ansible_product_name": "Standard PC (i440FX + PIIX, 1996)", "ansible_all_ipv4_addresses": ["10.110.100.13"], "ansible_python_version": "2.7.14", "ansible_product_version": "pc-i440fx-3.0", "ansible_service_mgr": "systemd", "ansible_memory_mb": {"real": {"total": 3808, "used": 274, "free": 3534}, "swap": {"cached": 0, "total": 2047, "free": 2047, "used": 0}, "nocache": {"used": 97, "free": 3711}}, "ansible_user_dir": "/root", "gather_subset": ["all"], "ansible_real_user_id": 0, "ansible_virtualization_role": "guest", "ansible_dns": {"nameservers": ["10.110.100.7", "10.110.100.8", "172.30.1.178"], "search": ["vptc10.org"]}, "ansible_effective_group_id": 0, "ansible_lo": {"mtu": 65536, "device": "lo", "promisc": false, "ipv4": {"broadcast": "host", "netmask": "255.0.0.0", "network": "127.0.0.0", "address": "127.0.0.1"}, "ipv6": [{"scope": "host", "prefix": "128", "address": "::1"}], "active": true, "type": "loopback"}, "ansible_memtotal_mb": 3808, "ansible_device_links": {"masters": {"sda1": ["dm-0", "dm-1"]}, "labels": {}, "ids": {"sr0": ["ata-QEMU_DVD-ROM_QM00003", "scsi-0QEMU_QEMU_DVD-ROM_QM00003", "scsi-1ATA_QEMU_DVD-ROM_QM00003"], "sda2": ["scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-part2"], "sda": ["scsi-0QEMU_QEMU_HARDDISK_drive-scsi0"], "sda1": ["lvm-pv-uuid-hx3uP4-eVxZ-evoe-cU35-m44I-IrcV-FJJYnE", "scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-part1"], "dm-0": ["dm-name-system-root", "dm-uuid-LVM-ang3yWZDVWngk5g7e5jmCIixcJyN0QyWSkp3NoY6YdIXVfZ7mbPzfsk7tfvLKtVk"], "dm-1": ["dm-name-system-swap", "dm-uuid-LVM-ang3yWZDVWngk5g7e5jmCIixcJyN0QyWBC3p883Ti2iddJiwk54FhXN2x2QHmf6q"]}, "uuids": {"dm-0": ["d1bdb7cd-5ab2-47dc-a8e1-c34e23275134"], "dm-1": ["252b9970-29e8-4d08-8949-99bad60a6a04"]}}, "ansible_apparmor": {"status": "enabled"}, "ansible_proc_cmdline": {"ksdevice": "bootif", "BOOT_IMAGE": "/boot/vmlinuz-4.12.14-23-default", "resume": "/dev/system/swap", "text": true, "showopts": true, "quiet": true, "splash": "silent", "crashkernel": "256M-2G:64M,2G-:128M", "root": "/dev/mapper/system-root"}, "ansible_memfree_mb": 3534, "ansible_processor_count": 1, "ansible_hostname": "my_little_host", "ansible_interfaces": ["lo", "eth0"], "ansible_selinux": {"status": "Missing selinux Python library"}, "ansible_fqdn": "my_little_host.vptc10.org", "ansible_mounts": [{"block_used": 636168, "uuid": "d1bdb7cd-5ab2-47dc-a8e1-c34e23275134", "size_total": 21003583488, "block_total": 5127828, "mount": "/", "block_available": 4491660, "size_available": 18397839360, "fstype": "ext4", "inode_total": 1310720, "options": "rw,relatime,data=ordered", "device": "/dev/mapper/system-root", "inode_used": 41682, "block_size": 4096, "inode_available": 1269038}], "ansible_nodename": "my_little_host", "ansible_lvm": {"pvs": {"/dev/sda1": {"free_g": "9.99", "size_g": "31.99", "vg": "system"}}, "lvs": {"root": {"size_g": "20.00", "vg": "system"}, "swap": {"size_g": "2.00", "vg": "system"}}, "vgs": {"system": {"free_g": "9.99", "size_g": "31.99", "num_lvs": "2", "num_pvs": "1"}}}, "ansible_domain": "vptc10.org", "ansible_distribution_file_path": "/etc/os-release", "ansible_virtualization_type": "kvm", "ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIJAQ9qf+5ypOYQ5x46yyoJc9ZiYH3zLAVq6Z3ddPdbvr", "ansible_processor_cores": 1, "ansible_bios_version": "rel-1.11.2-0-gf9626ccb91-prebuilt.qemu-project.org", "ansible_date_time": {"weekday_number": "1", "iso8601_basic_short": "20200518T184357", "tz": "CEST", "weeknumber": "20", "hour": "18", "year": "2020", "minute": "43", "tz_offset": "+0200", "month": "05", "epoch": "1589820237", "iso8601_micro": "2020-05-18T16:43:57.770183Z", "weekday": "lundi", "time": "18:43:57", "date": "2020-05-18", "iso8601": "2020-05-18T16:43:57Z", "day": "18", "iso8601_basic": "20200518T184357770071", "second": "57"}, "ansible_distribution_release": "0", "ansible_os_family": "Suse", "ansible_effective_user_id": 0, "ansible_system": "Linux", "ansible_devices": {"sr0": {"scheduler_mode": "cfq", "rotational": "1", "vendor": "QEMU", "sectors": "2097151", "links": {"masters": [], "labels": [], "ids": ["ata-QEMU_DVD-ROM_QM00003", "scsi-0QEMU_QEMU_DVD-ROM_QM00003", "scsi-1ATA_QEMU_DVD-ROM_QM00003"], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II]", "sectorsize": "512", "removable": "1", "support_discard": "0", "model": "QEMU DVD-ROM", "partitions": {}, "holders": [], "size": "1024.00 MB"}, "sda": {"scheduler_mode": "cfq", "rotational": "1", "vendor": "QEMU", "sectors": "67108864", "links": {"masters": [], "labels": [], "ids": ["scsi-0QEMU_QEMU_HARDDISK_drive-scsi0"], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "SCSI storage controller: LSI Logic / Symbios Logic 53c895a", "sectorsize": "512", "removable": "0", "support_discard": "4096", "model": "QEMU HARDDISK", "partitions": {"sda2": {"sectorsize": 512, "uuid": null, "links": {"masters": [], "labels": [], "ids": ["scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-part2"], "uuids": []}, "sectors": "18399", "start": "67090432", "holders": [], "size": "8.98 MB"}, "sda1": {"sectorsize": 512, "uuid": null, "links": {"masters": ["dm-0", "dm-1"], "labels": [], "ids": ["lvm-pv-uuid-hx3uP4-eVxZ-evoe-cU35-m44I-IrcV-FJJYnE", "scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-part1"], "uuids": []}, "sectors": "67088384", "start": "2048", "holders": ["system-swap", "system-root"], "size": "31.99 GB"}}, "holders": [], "size": "32.00 GB"}, "dm-0": {"scheduler_mode": "", "rotational": "1", "vendor": null, "sectors": "41943040", "links": {"masters": [], "labels": [], "ids": ["dm-name-system-root", "dm-uuid-LVM-ang3yWZDVWngk5g7e5jmCIixcJyN0QyWSkp3NoY6YdIXVfZ7mbPzfsk7tfvLKtVk"], "uuids": ["d1bdb7cd-5ab2-47dc-a8e1-c34e23275134"]}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "4096", "model": null, "partitions": {}, "holders": [], "size": "20.00 GB"}, "dm-1": {"scheduler_mode": "", "rotational": "1", "vendor": null, "sectors": "4194304", "links": {"masters": [], "labels": [], "ids": ["dm-name-system-swap", "dm-uuid-LVM-ang3yWZDVWngk5g7e5jmCIixcJyN0QyWBC3p883Ti2iddJiwk54FhXN2x2QHmf6q"], "uuids": ["252b9970-29e8-4d08-8949-99bad60a6a04"]}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "4096", "model": null, "partitions": {}, "holders": [], "size": "2.00 GB"}}, "ansible_user_uid": 0, "ansible_ssh_host_key_dsa_public": "AAAAB3NzaC1kc3MAAACBAMzdQPPk6yzDSn5aif73E+SHK+CvukfBscnPTdkr5lTj5/r5ENKFdlbNsMo6RD/XyUWwtYN+UHBIESze9zvWdI7/VtU7oqO2PbW1GyMQep2kqss7ZEGCbrfmEyTXj4meaxI+s3xxRC61uNEnMQbUnMyjn/+l/KkRXswmWdyDevmfAAAAFQC/N0s8MINc+iXlUAxO9HiEhjpUDQAAAIA3Xegu008ajObyqFeHwx6OVt+Xv93ApdFrlF3ztKmSTMBCsXxYRUZOaxdAX89ZYIjGr2IhB9mBMl7gVNBDn51wSIfPzPCzA9Jm2QhYzL1MtSMizV5tngDb0wjPKxjTvYLy0NQt5ohbAjI74wenR7Leu4O1nn7UL0V1stATbK6kKgAAAIAR3fRCBLN3A4L4PZbeGESkrBK+hr35faO6K5gFBnVPm6w4gLzEY/ZPxymcKvf7gWBqOGmOpepwIMr591HN0jNn45Xx2sOw0YT2v1x7pCrPBckoZPcZ15XrQ1sTZX4UjkKLMiPurbFnvrpAeT/sIBxI0DNUB63PhWKCaoyljYhtWg==", "ansible_bios_date": "04/01/2014"}}\r\n', b'Shared connection to 10.110.100.13 closed.\r\n') | |
2020-05-18 18:43:58,697 INFO ansible: <10.110.100.13> (0, b'\r\n{"invocation": {"module_args": {"filter": "*", "gather_subset": ["all"], "fact_path": "/etc/ansible/facts.d", "gather_timeout": 10}}, "ansible_facts": {"ansible_fibre_channel_wwn": [], "module_setup": true, "ansible_distribution_version": "15", "ansible_distribution_file_variety": "SUSE", "ansible_env": {"CPU": "x86_64", "LIBGL_DEBUG": "quiet", "MINICOM": "-c on", "CSHEDIT": "emacs", "HOSTTYPE": "x86_64", "SSH_CLIENT": "10.100.244.224 51641 22", "LOGNAME": "root", "USER": "root", "PATH": "/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/bin", "HOME": "/root", "XKEYSYMDB": "/usr/X11R6/lib/X11/XKeysymDB", "SSH_CONNECTION": "10.100.244.224 51641 10.110.100.13 22", "LANG": "fr_BE.UTF-8", "TERM": "xterm", "SHELL": "/bin/bash", "XDG_DATA_DIRS": "/usr/share", "XDG_SESSION_ID": "32", "G_BROKEN_FILENAMES": "1", "HISTSIZE": "1000", "MANPATH": "", "OSTYPE": "linux", "PROFILEREAD": "true", "XDG_RUNTIME_DIR": "/run/user/0", "G_FILENAME_ENCODING": "@locale,UTF-8,ISO-8859-15,CP1252", "HOST": "my_little_host", "GPG_TTY": "/dev/pts/0", "XNLSPATH": "/usr/X11R6/lib/X11/nls", "DBUS_SESSION_BUS_ADDRESS": "unix:path=/run/user/0/bus", "_": "/usr/bin/python", "FROM_HEADER": "", "XDG_CONFIG_DIRS": "/etc/xdg", "SSH_TTY": "/dev/pts/0", "HOSTNAME": "my_little_host", "WINDOWMANAGER": "xterm", "SSH_SENDS_LOCALE": "yes", "SHLVL": "2", "PWD": "/root", "COLORTERM": "1", "MAIL": "/var/mail/root", "MACHTYPE": "x86_64-suse-linux"}, "ansible_userspace_bits": "64", "ansible_architecture": "x86_64", "ansible_default_ipv4": {"macaddress": "52:54:0a:6e:64:0d", "network": "10.110.100.0", "mtu": 1500, "broadcast": "10.110.100.255", "alias": "eth0", "netmask": "255.255.255.0", "address": "10.110.100.13", "interface": "eth0", "type": "ether", "gateway": "10.110.100.1"}, "ansible_swapfree_mb": 2047, "ansible_default_ipv6": {}, "ansible_cmdline": {"ksdevice": "bootif", "BOOT_IMAGE": "/boot/vmlinuz-4.12.14-23-default", "resume": "/dev/system/swap", "text": true, "showopts": true, "quiet": true, "splash": "silent", "crashkernel": "256M-2G:64M,2G-:128M", "root": "/dev/mapper/system-root"}, "ansible_machine_id": "1378b26407af4616862c995b71a8e187", "ansible_userspace_architecture": "x86_64", "ansible_product_uuid": "1378B264-07AF-4616-862C-995B71A8E187", "ansible_pkg_mgr": "zypper", "ansible_distribution": "SLES", "ansible_iscsi_iqn": "", "ansible_all_ipv6_addresses": ["fe80::5054:aff:fe6e:640d"], "ansible_uptime_seconds": 25412, "ansible_kernel": "4.12.14-23-default", "ansible_python": {"executable": "/usr/bin/python", "version": {"micro": 14, "major": 2, "releaselevel": "final", "serial": 0, "minor": 7}, "type": "CPython", "has_sslcontext": false, "version_info": [2, 7, 14, "final", 0]}, "ansible_is_chroot": false, "ansible_hostnqn": "", "ansible_user_shell": "/bin/bash", "ansible_product_serial": "NA", "ansible_form_factor": "Other", "ansible_distribution_file_parsed": true, "ansible_fips": false, "ansible_user_id": "root", "ansible_selinux_python_present": false, "ansible_kernel_version": "#1 SMP Tue May 29 21:04:44 UTC 2018 (cd0437b)", "ansible_local": {"a_second_key": ["this", "is", "a", "list"], "third_key": {"one": "and try", "three": "too", "two": "a dict"}, "my_first_key": "my_value"}, "ansible_processor_vcpus": 1, "ansible_processor": ["0", "GenuineIntel", "Common KVM processor"], "ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBAM64Z+bnq/4bqSzeSEzEdA8Wpc2FvaglGmUYcD753G4Ne0xuO4Ncq4ai8jW/8joAV/qfgRWcxIGEH23JI+jqPc=", "ansible_user_gid": 0, "ansible_system_vendor": "QEMU", "ansible_swaptotal_mb": 2047, "ansible_distribution_major_version": "15", "ansible_real_group_id": 0, "ansible_lsb": {}, "ansible_machine": "x86_64", "ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDCUq4elKH4giD71e4yWDfcyj4LIDTby5nsexfvRzGmkCL0f7cZn0HP46IWT1GwxnoXHDcXfvCLdEzLK1ZEyg8JLUCzc3yY8Ve3zXRDoWdW1JGoyYGwPfc0YHewZSh98FtETxoNq6QebziGYyujXHR9FvrUoQ++DS1JVoS3Ma39Eqn28QfU3JJUcjvcfLBwhV3ldSAy7j8ydEsx3bbnUObNPHISQuhNtBFY6uyjiRatbP2rKXg5lybhvqSNnlan8TbPeCyQFmmhKHoXdEzMzVUYGFK8dKAKr5pdw7ajP5pIUcN16Nfs/gdm+O1A/LPsDyxoAmD2KNu8h+2jf2hWX5eZ", "ansible_user_gecos": "root", "ansible_processor_threads_per_core": 1, "ansible_eth0": {"macaddress": "52:54:0a:6e:64:0d", "type": "ether", "pciid": "virtio1", "module": "virtio_net", "mtu": 1500, "device": "eth0", "promisc": false, "ipv4": {"broadcast": "10.110.100.255", "netmask": "255.255.255.0", "network": "10.110.100.0", "address": "10.110.100.13"}, "ipv6": [{"scope": "link", "prefix": "64", "address": "fe80::5054:aff:fe6e:640d"}], "active": true, "speed": -1}, "ansible_product_name": "Standard PC (i440FX + PIIX, 1996)", "ansible_all_ipv4_addresses": ["10.110.100.13"], "ansible_python_version": "2.7.14", "ansible_product_version": "pc-i440fx-3.0", "ansible_service_mgr": "systemd", "ansible_memory_mb": {"real": {"total": 3808, "used": 274, "free": 3534}, "swap": {"cached": 0, "total": 2047, "free": 2047, "used": 0}, "nocache": {"used": 97, "free": 3711}}, "ansible_user_dir": "/root", "gather_subset": ["all"], "ansible_real_user_id": 0, "ansible_virtualization_role": "guest", "ansible_dns": {"nameservers": ["10.110.100.7", "10.110.100.8", "172.30.1.178"], "search": ["vptc10.org"]}, "ansible_effective_group_id": 0, "ansible_lo": {"mtu": 65536, "device": "lo", "promisc": false, "ipv4": {"broadcast": "host", "netmask": "255.0.0.0", "network": "127.0.0.0", "address": "127.0.0.1"}, "ipv6": [{"scope": "host", "prefix": "128", "address": "::1"}], "active": true, "type": "loopback"}, "ansible_memtotal_mb": 3808, "ansible_device_links": {"masters": {"sda1": ["dm-0", "dm-1"]}, "labels": {}, "ids": {"sr0": ["ata-QEMU_DVD-ROM_QM00003", "scsi-0QEMU_QEMU_DVD-ROM_QM00003", "scsi-1ATA_QEMU_DVD-ROM_QM00003"], "sda2": ["scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-part2"], "sda": ["scsi-0QEMU_QEMU_HARDDISK_drive-scsi0"], "sda1": ["lvm-pv-uuid-hx3uP4-eVxZ-evoe-cU35-m44I-IrcV-FJJYnE", "scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-part1"], "dm-0": ["dm-name-system-root", "dm-uuid-LVM-ang3yWZDVWngk5g7e5jmCIixcJyN0QyWSkp3NoY6YdIXVfZ7mbPzfsk7tfvLKtVk"], "dm-1": ["dm-name-system-swap", "dm-uuid-LVM-ang3yWZDVWngk5g7e5jmCIixcJyN0QyWBC3p883Ti2iddJiwk54FhXN2x2QHmf6q"]}, "uuids": {"dm-0": ["d1bdb7cd-5ab2-47dc-a8e1-c34e23275134"], "dm-1": ["252b9970-29e8-4d08-8949-99bad60a6a04"]}}, "ansible_apparmor": {"status": "enabled"}, "ansible_proc_cmdline": {"ksdevice": "bootif", "BOOT_IMAGE": "/boot/vmlinuz-4.12.14-23-default", "resume": "/dev/system/swap", "text": true, "showopts": true, "quiet": true, "splash": "silent", "crashkernel": "256M-2G:64M,2G-:128M", "root": "/dev/mapper/system-root"}, "ansible_memfree_mb": 3534, "ansible_processor_count": 1, "ansible_hostname": "my_little_host", "ansible_interfaces": ["lo", "eth0"], "ansible_selinux": {"status": "Missing selinux Python library"}, "ansible_fqdn": "my_little_host.vptc10.org", "ansible_mounts": [{"block_used": 636168, "uuid": "d1bdb7cd-5ab2-47dc-a8e1-c34e23275134", "size_total": 21003583488, "block_total": 5127828, "mount": "/", "block_available": 4491660, "size_available": 18397839360, "fstype": "ext4", "inode_total": 1310720, "options": "rw,relatime,data=ordered", "device": "/dev/mapper/system-root", "inode_used": 41682, "block_size": 4096, "inode_available": 1269038}], "ansible_nodename": "my_little_host", "ansible_lvm": {"pvs": {"/dev/sda1": {"free_g": "9.99", "size_g": "31.99", "vg": "system"}}, "lvs": {"root": {"size_g": "20.00", "vg": "system"}, "swap": {"size_g": "2.00", "vg": "system"}}, "vgs": {"system": {"free_g": "9.99", "size_g": "31.99", "num_lvs": "2", "num_pvs": "1"}}}, "ansible_domain": "vptc10.org", "ansible_distribution_file_path": "/etc/os-release", "ansible_virtualization_type": "kvm", "ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIJAQ9qf+5ypOYQ5x46yyoJc9ZiYH3zLAVq6Z3ddPdbvr", "ansible_processor_cores": 1, "ansible_bios_version": "rel-1.11.2-0-gf9626ccb91-prebuilt.qemu-project.org", "ansible_date_time": {"weekday_number": "1", "iso8601_basic_short": "20200518T184357", "tz": "CEST", "weeknumber": "20", "hour": "18", "year": "2020", "minute": "43", "tz_offset": "+0200", "month": "05", "epoch": "1589820237", "iso8601_micro": "2020-05-18T16:43:57.770183Z", "weekday": "lundi", "time": "18:43:57", "date": "2020-05-18", "iso8601": "2020-05-18T16:43:57Z", "day": "18", "iso8601_basic": "20200518T184357770071", "second": "57"}, "ansible_distribution_release": "0", "ansible_os_family": "Suse", "ansible_effective_user_id": 0, "ansible_system": "Linux", "ansible_devices": {"sr0": {"scheduler_mode": "cfq", "rotational": "1", "vendor": "QEMU", "sectors": "2097151", "links": {"masters": [], "labels": [], "ids": ["ata-QEMU_DVD-ROM_QM00003", "scsi-0QEMU_QEMU_DVD-ROM_QM00003", "scsi-1ATA_QEMU_DVD-ROM_QM00003"], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II]", "sectorsize": "512", "removable": "1", "support_discard": "0", "model": "QEMU DVD-ROM", "partitions": {}, "holders": [], "size": "1024.00 MB"}, "sda": {"scheduler_mode": "cfq", "rotational": "1", "vendor": "QEMU", "sectors": "67108864", "links": {"masters": [], "labels": [], "ids": ["scsi-0QEMU_QEMU_HARDDISK_drive-scsi0"], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "SCSI storage controller: LSI Logic / Symbios Logic 53c895a", "sectorsize": "512", "removable": "0", "support_discard": "4096", "model": "QEMU HARDDISK", "partitions": {"sda2": {"sectorsize": 512, "uuid": null, "links": {"masters": [], "labels": [], "ids": ["scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-part2"], "uuids": []}, "sectors": "18399", "start": "67090432", "holders": [], "size": "8.98 MB"}, "sda1": {"sectorsize": 512, "uuid": null, "links": {"masters": ["dm-0", "dm-1"], "labels": [], "ids": ["lvm-pv-uuid-hx3uP4-eVxZ-evoe-cU35-m44I-IrcV-FJJYnE", "scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-part1"], "uuids": []}, "sectors": "67088384", "start": "2048", "holders": ["system-swap", "system-root"], "size": "31.99 GB"}}, "holders": [], "size": "32.00 GB"}, "dm-0": {"scheduler_mode": "", "rotational": "1", "vendor": null, "sectors": "41943040", "links": {"masters": [], "labels": [], "ids": ["dm-name-system-root", "dm-uuid-LVM-ang3yWZDVWngk5g7e5jmCIixcJyN0QyWSkp3NoY6YdIXVfZ7mbPzfsk7tfvLKtVk"], "uuids": ["d1bdb7cd-5ab2-47dc-a8e1-c34e23275134"]}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "4096", "model": null, "partitions": {}, "holders": [], "size": "20.00 GB"}, "dm-1": {"scheduler_mode": "", "rotational": "1", "vendor": null, "sectors": "4194304", "links": {"masters": [], "labels": [], "ids": ["dm-name-system-swap", "dm-uuid-LVM-ang3yWZDVWngk5g7e5jmCIixcJyN0QyWBC3p883Ti2iddJiwk54FhXN2x2QHmf6q"], "uuids": ["252b9970-29e8-4d08-8949-99bad60a6a04"]}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "4096", "model": null, "partitions": {}, "holders": [], "size": "2.00 GB"}}, "ansible_user_uid": 0, "ansible_ssh_host_key_dsa_public": "AAAAB3NzaC1kc3MAAACBAMzdQPPk6yzDSn5aif73E+SHK+CvukfBscnPTdkr5lTj5/r5ENKFdlbNsMo6RD/XyUWwtYN+UHBIESze9zvWdI7/VtU7oqO2PbW1GyMQep2kqss7ZEGCbrfmEyTXj4meaxI+s3xxRC61uNEnMQbUnMyjn/+l/KkRXswmWdyDevmfAAAAFQC/N0s8MINc+iXlUAxO9HiEhjpUDQAAAIA3Xegu008ajObyqFeHwx6OVt+Xv93ApdFrlF3ztKmSTMBCsXxYRUZOaxdAX89ZYIjGr2IhB9mBMl7gVNBDn51wSIfPzPCzA9Jm2QhYzL1MtSMizV5tngDb0wjPKxjTvYLy0NQt5ohbAjI74wenR7Leu4O1nn7UL0V1stATbK6kKgAAAIAR3fRCBLN3A4L4PZbeGESkrBK+hr35faO6K5gFBnVPm6w4gLzEY/ZPxymcKvf7gWBqOGmOpepwIMr591HN0jNn45Xx2sOw0YT2v1x7pCrPBckoZPcZ15XrQ1sTZX4UjkKLMiPurbFnvrpAeT/sIBxI0DNUB63PhWKCaoyljYhtWg==", "ansible_bios_date": "04/01/2014"}}\r\n', b'Shared connection to 10.110.100.13 closed.\r\n') | |
<10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
2020-05-18 18:43:58,705 INFO ansible: <10.110.100.13> ESTABLISH SSH CONNECTION FOR USER: root | |
<10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd 10.110.100.13 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1589820236.9861908-8540-3686583808635/ > /dev/null 2>&1 && sleep 0'"'"'' | |
2020-05-18 18:43:58,710 INFO ansible: <10.110.100.13> SSH: EXEC sshpass -d11 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/home/xenlo/.ansible/cp/ada20efbfd 10.110.100.13 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1589820236.9861908-8540-3686583808635/ > /dev/null 2>&1 && sleep 0'"'"'' | |
<10.110.100.13> (0, b'', b'') | |
2020-05-18 18:43:58,780 INFO ansible: <10.110.100.13> (0, b'', b'') | |
ok: [my_little_host] | |
2020-05-18 18:43:58,819 INFO ansible: ok: [my_little_host] | |
Callback Exception: | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ansible/executor/task_queue_manager.py", line 324, in send_callback | |
method(*new_args, **kwargs) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 295, in v2_runner_on_ok | |
self._load_result(result, "ok", **kwargs) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 385, in _load_result | |
host = self._get_or_create_host(result._host.get_name()) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 375, in _get_or_create_host | |
self.host_cache[host] = self.client.post("/api/v1/hosts", name=host, playbook=self.playbook["id"]) | |
2020-05-18 18:43:58,826 INFO ansible: Callback Exception: | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ansible/executor/task_queue_manager.py", line 324, in send_callback | |
method(*new_args, **kwargs) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 295, in v2_runner_on_ok | |
self._load_result(result, "ok", **kwargs) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 385, in _load_result | |
host = self._get_or_create_host(result._host.get_name()) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 375, in _get_or_create_host | |
self.host_cache[host] = self.client.post("/api/v1/hosts", name=host, playbook=self.playbook["id"]) | |
TASK [Print the custom facts] ************************************************************************************************************************************************************************************************************************************************* | |
2020-05-18 18:43:58,853 INFO ansible: TASK [Print the custom facts] ************************************************************************************************************************************************************************************************************************************************* | |
task path: /home/xenlo/Projects/378/playground/set_local_facts.yml:31 | |
Callback Exception: | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ansible/executor/task_queue_manager.py", line 324, in send_callback | |
method(*new_args, **kwargs) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 276, in v2_playbook_on_task_start | |
task_file = self._get_or_create_file(path) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 366, in _get_or_create_file | |
"/api/v1/files", playbook=self.playbook["id"], path=path, content=content | |
2020-05-18 18:43:58,854 INFO ansible: Callback Exception: | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ansible/executor/task_queue_manager.py", line 324, in send_callback | |
method(*new_args, **kwargs) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 276, in v2_playbook_on_task_start | |
task_file = self._get_or_create_file(path) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 366, in _get_or_create_file | |
"/api/v1/files", playbook=self.playbook["id"], path=path, content=content | |
Monday 18 May 2020 18:43:58 +0200 (0:00:02.102) 0:00:08.029 ************ | |
2020-05-18 18:43:58,854 INFO ansible: Monday 18 May 2020 18:43:58 +0200 (0:00:02.102) 0:00:08.029 ************ | |
ok: [my_little_host] => | |
ansible_local: | |
a_second_key: | |
- this | |
- is | |
- a | |
- list | |
my_first_key: my_value | |
third_key: | |
one: and try | |
three: too | |
two: a dict | |
2020-05-18 18:43:59,003 INFO ansible: ok: [my_little_host] => | |
ansible_local: | |
a_second_key: | |
- this | |
- is | |
- a | |
- list | |
my_first_key: my_value | |
third_key: | |
one: and try | |
three: too | |
two: a dict | |
Callback Exception: | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ansible/executor/task_queue_manager.py", line 324, in send_callback | |
method(*new_args, **kwargs) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 295, in v2_runner_on_ok | |
self._load_result(result, "ok", **kwargs) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 385, in _load_result | |
host = self._get_or_create_host(result._host.get_name()) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 375, in _get_or_create_host | |
self.host_cache[host] = self.client.post("/api/v1/hosts", name=host, playbook=self.playbook["id"]) | |
2020-05-18 18:43:59,006 INFO ansible: Callback Exception: | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ansible/executor/task_queue_manager.py", line 324, in send_callback | |
method(*new_args, **kwargs) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 295, in v2_runner_on_ok | |
self._load_result(result, "ok", **kwargs) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 385, in _load_result | |
host = self._get_or_create_host(result._host.get_name()) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 375, in _get_or_create_host | |
self.host_cache[host] = self.client.post("/api/v1/hosts", name=host, playbook=self.playbook["id"]) | |
TASK [Log on ara] ************************************************************************************************************************************************************************************************************************************************************* | |
2020-05-18 18:43:59,027 INFO ansible: TASK [Log on ara] ************************************************************************************************************************************************************************************************************************************************************* | |
task path: /home/xenlo/Projects/378/playground/set_local_facts.yml:35 | |
Callback Exception: | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ansible/executor/task_queue_manager.py", line 324, in send_callback | |
method(*new_args, **kwargs) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 276, in v2_playbook_on_task_start | |
task_file = self._get_or_create_file(path) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 366, in _get_or_create_file | |
"/api/v1/files", playbook=self.playbook["id"], path=path, content=content | |
2020-05-18 18:43:59,029 INFO ansible: Callback Exception: | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ansible/executor/task_queue_manager.py", line 324, in send_callback | |
method(*new_args, **kwargs) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 276, in v2_playbook_on_task_start | |
task_file = self._get_or_create_file(path) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 366, in _get_or_create_file | |
"/api/v1/files", playbook=self.playbook["id"], path=path, content=content | |
Monday 18 May 2020 18:43:59 +0200 (0:00:00.175) 0:00:08.204 ************ | |
2020-05-18 18:43:59,029 INFO ansible: Monday 18 May 2020 18:43:59 +0200 (0:00:00.175) 0:00:08.204 ************ | |
The full traceback is: | |
Traceback (most recent call last): | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/urllib3/connection.py", line 160, in _new_conn | |
(self._dns_host, self.port), self.timeout, **extra_kw | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/urllib3/util/connection.py", line 84, in create_connection | |
raise err | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/urllib3/util/connection.py", line 74, in create_connection | |
sock.connect(sa) | |
ConnectionRefusedError: [Errno 111] Connection refused | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/urllib3/connectionpool.py", line 677, in urlopen | |
chunked=chunked, | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/urllib3/connectionpool.py", line 392, in _make_request | |
conn.request(method, url, **httplib_request_kw) | |
File "/usr/lib64/python3.7/http/client.py", line 1252, in request | |
self._send_request(method, url, body, headers, encode_chunked) | |
File "/usr/lib64/python3.7/http/client.py", line 1298, in _send_request | |
self.endheaders(body, encode_chunked=encode_chunked) | |
File "/usr/lib64/python3.7/http/client.py", line 1247, in endheaders | |
self._send_output(message_body, encode_chunked=encode_chunked) | |
File "/usr/lib64/python3.7/http/client.py", line 1026, in _send_output | |
self.send(msg) | |
File "/usr/lib64/python3.7/http/client.py", line 966, in send | |
self.connect() | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/urllib3/connection.py", line 187, in connect | |
conn = self._new_conn() | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/urllib3/connection.py", line 172, in _new_conn | |
self, "Failed to establish a new connection: %s" % e | |
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f384ac1d450>: Failed to establish a new connection: [Errno 111] Connection refused | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/requests/adapters.py", line 449, in send | |
timeout=timeout | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/urllib3/connectionpool.py", line 725, in urlopen | |
method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/urllib3/util/retry.py", line 439, in increment | |
raise MaxRetryError(_pool, url, error or ResponseError(cause)) | |
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=58075): Max retries exceeded with url: /api/v1/plays?uuid=08002738-7772-0d59-19a3-0000000000b2 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f384ac1d450>: Failed to establish a new connection: [Errno 111] Connection refused')) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ansible/executor/task_executor.py", line 146, in run | |
res = self._execute() | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ansible/executor/task_executor.py", line 645, in _execute | |
result = self._handler.run(task_vars=variables) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/action/ara_record.py", line 198, in run | |
play = self.client.get("/api/v1/plays?uuid=%s" % parent._parent._play._uuid) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/clients/http.py", line 109, in get | |
return self._request("get", endpoint, params=kwargs) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/clients/http.py", line 93, in _request | |
response = func(url, **kwargs) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/clients/http.py", line 61, in get | |
return self._request("get", url, **payload) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/clients/http.py", line 57, in _request | |
return self.http.request(method, self.endpoint + url, timeout=self.timeout, **payload) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/requests/sessions.py", line 530, in request | |
resp = self.send(prep, **send_kwargs) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/requests/sessions.py", line 643, in send | |
r = adapter.send(request, **kwargs) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/requests/adapters.py", line 516, in send | |
raise ConnectionError(e, request=request) | |
requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=58075): Max retries exceeded with url: /api/v1/plays?uuid=08002738-7772-0d59-19a3-0000000000b2 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f384ac1d450>: Failed to establish a new connection: [Errno 111] Connection refused')) | |
2020-05-18 18:43:59,188 ERROR ansible: The full traceback is: | |
Traceback (most recent call last): | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/urllib3/connection.py", line 160, in _new_conn | |
(self._dns_host, self.port), self.timeout, **extra_kw | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/urllib3/util/connection.py", line 84, in create_connection | |
raise err | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/urllib3/util/connection.py", line 74, in create_connection | |
sock.connect(sa) | |
ConnectionRefusedError: [Errno 111] Connection refused | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/urllib3/connectionpool.py", line 677, in urlopen | |
chunked=chunked, | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/urllib3/connectionpool.py", line 392, in _make_request | |
conn.request(method, url, **httplib_request_kw) | |
File "/usr/lib64/python3.7/http/client.py", line 1252, in request | |
self._send_request(method, url, body, headers, encode_chunked) | |
File "/usr/lib64/python3.7/http/client.py", line 1298, in _send_request | |
self.endheaders(body, encode_chunked=encode_chunked) | |
File "/usr/lib64/python3.7/http/client.py", line 1247, in endheaders | |
self._send_output(message_body, encode_chunked=encode_chunked) | |
File "/usr/lib64/python3.7/http/client.py", line 1026, in _send_output | |
self.send(msg) | |
File "/usr/lib64/python3.7/http/client.py", line 966, in send | |
self.connect() | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/urllib3/connection.py", line 187, in connect | |
conn = self._new_conn() | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/urllib3/connection.py", line 172, in _new_conn | |
self, "Failed to establish a new connection: %s" % e | |
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f384ac1d450>: Failed to establish a new connection: [Errno 111] Connection refused | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/requests/adapters.py", line 449, in send | |
timeout=timeout | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/urllib3/connectionpool.py", line 725, in urlopen | |
method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/urllib3/util/retry.py", line 439, in increment | |
raise MaxRetryError(_pool, url, error or ResponseError(cause)) | |
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=58075): Max retries exceeded with url: /api/v1/plays?uuid=08002738-7772-0d59-19a3-0000000000b2 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f384ac1d450>: Failed to establish a new connection: [Errno 111] Connection refused')) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ansible/executor/task_executor.py", line 146, in run | |
res = self._execute() | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ansible/executor/task_executor.py", line 645, in _execute | |
result = self._handler.run(task_vars=variables) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/action/ara_record.py", line 198, in run | |
play = self.client.get("/api/v1/plays?uuid=%s" % parent._parent._play._uuid) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/clients/http.py", line 109, in get | |
return self._request("get", endpoint, params=kwargs) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/clients/http.py", line 93, in _request | |
response = func(url, **kwargs) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/clients/http.py", line 61, in get | |
return self._request("get", url, **payload) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/clients/http.py", line 57, in _request | |
return self.http.request(method, self.endpoint + url, timeout=self.timeout, **payload) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/requests/sessions.py", line 530, in request | |
resp = self.send(prep, **send_kwargs) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/requests/sessions.py", line 643, in send | |
r = adapter.send(request, **kwargs) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/requests/adapters.py", line 516, in send | |
raise ConnectionError(e, request=request) | |
requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=58075): Max retries exceeded with url: /api/v1/plays?uuid=08002738-7772-0d59-19a3-0000000000b2 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f384ac1d450>: Failed to establish a new connection: [Errno 111] Connection refused')) | |
fatal: [my_little_host]: FAILED! => | |
msg: Unexpected failure during module execution. | |
stdout: '' | |
2020-05-18 18:43:59,189 ERROR ansible: fatal: [my_little_host]: FAILED! => | |
msg: Unexpected failure during module execution. | |
stdout: '' | |
2020-05-18 18:43:59,196 WARNING ansible: [WARNING]: Failure using method (v2_runner_on_failed) in callback plugin (<ansible.plugins.callback.ara_default.CallbackModule object at 0x7f384fff3c10>): 'NoneType' object is not subscriptable | |
Callback Exception: | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ansible/executor/task_queue_manager.py", line 324, in send_callback | |
method(*new_args, **kwargs) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 301, in v2_runner_on_failed | |
self._load_result(result, "failed", **kwargs) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 385, in _load_result | |
host = self._get_or_create_host(result._host.get_name()) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 375, in _get_or_create_host | |
self.host_cache[host] = self.client.post("/api/v1/hosts", name=host, playbook=self.playbook["id"]) | |
2020-05-18 18:43:59,196 INFO ansible: Callback Exception: | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ansible/executor/task_queue_manager.py", line 324, in send_callback | |
method(*new_args, **kwargs) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 301, in v2_runner_on_failed | |
self._load_result(result, "failed", **kwargs) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 385, in _load_result | |
host = self._get_or_create_host(result._host.get_name()) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 375, in _get_or_create_host | |
self.host_cache[host] = self.client.post("/api/v1/hosts", name=host, playbook=self.playbook["id"]) | |
PLAY RECAP ******************************************************************************************************************************************************************************************************************************************************************** | |
2020-05-18 18:43:59,199 INFO ansible: PLAY RECAP ******************************************************************************************************************************************************************************************************************************************************************** | |
my_little_host : ok=4 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0 | |
2020-05-18 18:43:59,199 INFO ansible: my_little_host : ok=4 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0 | |
2020-05-18 18:43:59,200 WARNING ansible: [WARNING]: Failure using method (v2_playbook_on_stats) in callback plugin (<ansible.plugins.callback.ara_default.CallbackModule object at 0x7f384fff3c10>): 'NoneType' object is not subscriptable | |
Callback Exception: | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ansible/executor/task_queue_manager.py", line 324, in send_callback | |
method(*new_args, **kwargs) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 310, in v2_playbook_on_stats | |
self._load_stats(stats) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 427, in _load_stats | |
host = self._get_or_create_host(hostname) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 375, in _get_or_create_host | |
self.host_cache[host] = self.client.post("/api/v1/hosts", name=host, playbook=self.playbook["id"]) | |
2020-05-18 18:43:59,200 INFO ansible: Callback Exception: | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ansible/executor/task_queue_manager.py", line 324, in send_callback | |
method(*new_args, **kwargs) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 310, in v2_playbook_on_stats | |
self._load_stats(stats) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 427, in _load_stats | |
host = self._get_or_create_host(hostname) | |
File "/home/xenlo/.virtualenvs/378/lib/python3.7/site-packages/ara/plugins/callback/ara_default.py", line 375, in _get_or_create_host | |
self.host_cache[host] = self.client.post("/api/v1/hosts", name=host, playbook=self.playbook["id"]) | |
Monday 18 May 2020 18:43:59 +0200 (0:00:00.170) 0:00:08.375 ************ | |
2020-05-18 18:43:59,200 INFO ansible: Monday 18 May 2020 18:43:59 +0200 (0:00:00.170) 0:00:08.375 ************ | |
=============================================================================== | |
2020-05-18 18:43:59,200 INFO ansible: =============================================================================== | |
Store the a list of stuffs as custom facts ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 3.96s | |
/home/xenlo/Projects/378/playground/set_local_facts.yml:22 ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
2020-05-18 18:43:59,201 INFO ansible: Store the a list of stuffs as custom facts ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 3.96s | |
/home/xenlo/Projects/378/playground/set_local_facts.yml:22 ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Gather the facts ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 2.10s | |
/home/xenlo/Projects/378/playground/set_local_facts.yml:28 ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
2020-05-18 18:43:59,202 INFO ansible: Gather the facts ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 2.10s | |
/home/xenlo/Projects/378/playground/set_local_facts.yml:28 ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Ensure directory ansible/facts.d is present ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 1.64s | |
/home/xenlo/Projects/378/playground/set_local_facts.yml:17 ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
2020-05-18 18:43:59,202 INFO ansible: Ensure directory ansible/facts.d is present ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 1.64s | |
/home/xenlo/Projects/378/playground/set_local_facts.yml:17 ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Print the custom facts ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.18s | |
/home/xenlo/Projects/378/playground/set_local_facts.yml:31 ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
2020-05-18 18:43:59,202 INFO ansible: Print the custom facts ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.18s | |
/home/xenlo/Projects/378/playground/set_local_facts.yml:31 ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Log on ara ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.17s | |
/home/xenlo/Projects/378/playground/set_local_facts.yml:35 ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
2020-05-18 18:43:59,202 INFO ansible: Log on ara ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.17s | |
/home/xenlo/Projects/378/playground/set_local_facts.yml:35 ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
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: Create a structure to store meta data on hosts | |
hosts: my_little_host | |
vars: | |
stuffs_to_store: | |
my_first_key: my_value | |
a_second_key: | |
- this | |
- is | |
- a | |
- list | |
third_key: | |
one: and try | |
two: a dict | |
three: too | |
tasks: | |
- name: Ensure directory ansible/facts.d is present | |
file: | |
path: /etc/ansible/facts.d/ | |
state: directory | |
- name: Store the a list of stuffs as custom facts | |
copy: | |
content: "{{ item.value | to_nice_json }}\n" | |
dest: "/etc/ansible/facts.d/{{ item.key }}.fact" | |
with_dict: "{{ stuffs_to_store }}" | |
- name: Gather the facts | |
setup: | |
- name: Print the custom facts | |
debug: | |
var: ansible_local | |
- name: Log on ara | |
ara_record: | |
key: my_little_key | |
value: "my little test value" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment