How to wait until a lock file is removed by other process
Wait until a lock file is removed by other process - name: Wait until lock file is stat: path: "" register: lck_file until: lck_file.stat...
Wait until a lock file is removed by other process - name: Wait until lock file is stat: path: "" register: lck_file until: lck_file.stat...
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