This file contains hidden or 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
__________________ | |
< PLAY [localhost] > | |
------------------ | |
\ ^___^ | |
\ (ooo)\_______ | |
(___)\ )\/\ | |
||----w | | |
|| || |
This file contains hidden or 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: dynamic re-use of database tasks | |
include_tasks: | |
file: db.yml | |
apply: | |
tags: db | |
tags: db | |
or | |
- block: |
This file contains hidden or 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
debug: msg="{{ifaces[item]}}" | |
loop: '{{ ifaces.keys() }}' | |
vars: | |
ifaces: '{{ output["stdout"][0]["interfaceStatuses"] }}' |
This file contains hidden or 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
diff --git a/lib/ansible/executor/module_common.py b/lib/ansible/executor/module_common.py | |
index 5451ce9586..f08f77a7b6 100644 | |
--- a/lib/ansible/executor/module_common.py | |
+++ b/lib/ansible/executor/module_common.py | |
@@ -730,7 +730,8 @@ def recursive_finder(name, module_fqn, data, py_module_names, py_module_cache, z | |
module_info = CollectionModuleInfo(py_module_name[-idx], | |
[os.path.join(*py_module_name[:-idx])]) |
This file contains hidden or 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
diff --git a/lib/ansible/plugins/filter/core.py b/lib/ansible/plugins/filter/core.py | |
index b53c8d8034..d0b408b68b 100644 | |
--- a/lib/ansible/plugins/filter/core.py | |
+++ b/lib/ansible/plugins/filter/core.py | |
@@ -574,6 +574,14 @@ def random_mac(value, seed=None): | |
rnd = ('%x' % v)[:remain] | |
return value + re.sub(r'(..)', r':\1', rnd) | |
+def join_with_string(list_value, join_string): | |
+ |
This file contains hidden or 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
supports: | |
- check | |
- async | |
- diff | |
- bypass_loop | |
- noconnection |
This file contains hidden or 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
diff --git a/lib/ansible/playbook/base.py b/lib/ansible/playbook/base.py | |
index 914425ff98..723ffc0a8d 100644 | |
--- a/lib/ansible/playbook/base.py | |
+++ b/lib/ansible/playbook/base.py | |
@@ -591,39 +591,39 @@ class FieldAttributeBase(with_metaclass(BaseMeta, object)): | |
class Base(FieldAttributeBase): | |
- _name = FieldAttribute(isa='string', default='', always_post_validate=True, inherit=False) | |
+ _nombre = FieldAttribute(isa='string', default='', always_post_validate=True, inherit=False) |
This file contains hidden or 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
bcoca@erebos:~/work/ansible(stable-2.9)$ echo blah |ansible-vault encrypt_string | |
New Vault password: | |
Confirm New Vault password: | |
Reading plaintext input from stdin. (ctrl-d to end input) | |
!vault | | |
$ANSIBLE_VAULT;1.1;AES256 | |
34346363653837343839663362376237613661613662356339626338393235636464396463643336 | |
6538613639366164323036366337666430646661353331350a363436663763333163353032333232 | |
66306264623564336265343535313035396637343238656336376634623737333639653136646235 | |
3764326134333831630a666537326230393162646266313231336662376333343230316238303533 |
This file contains hidden or 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
- hosts: appservers | |
serial: 1 | |
tasks: | |
- do stuff here serialy | |
- hosts: appservers | |
tasks: | |
- stuff here is parallel |
This file contains hidden or 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
diff --git a/lib/ansible/executor/play_iterator.py b/lib/ansible/executor/play_iterator.py | |
index 0fdcb2fedc..6e34a334a8 100644 | |
--- a/lib/ansible/executor/play_iterator.py | |
+++ b/lib/ansible/executor/play_iterator.py | |
@@ -166,9 +166,8 @@ class PlayIterator: | |
'gather_subset': gather_subset, | |
} | |
- # Unless play is specifically tagged, gathering should 'always' run |