How to replace a substring in variable with regex
How to replace a substring in variable with regex
How to replace a substring in variable with regex
How to install a virtual environment with specific versions of Python and Ansible download python-2.7.5 ./configure --prefix=/home/echong/PYTHON-2.7.5 make m...
Start the asynchronous task and check status later ```yaml name: Run sleep shell: sleep 30 async: 30 poll: 0 register: async_output
Replacing multiple lines in file - name: Set some kernel parameters lineinfile: dest: /etc/sysctl.conf regexp: "" line: "" with_items: - ...
Refresh inventory mid play - meta: refresh_inventory
Force to use virtualenv python When running modules that require virtualenv, such as Azure, local_action or localhost connection sometimes still use the de...
How to check async task status
Lowest precedence to hightest Role default variables Inventory variables Inventory group_vars variables: Inventory host_vars variables: group_vars...
Use | or > sign
Using python yaml module python -c 'import yaml, sys; print yaml.load(sys.stdin);' < my_playbook.yml If no syntax error exists, Python prints the content...