Difference between revisions of "Ansible: strategy"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
m (Welcome moved page Strategy to Ansible: strategy) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
* https://docs.ansible.com/ansible/latest/user_guide/playbooks_strategies.html | * https://docs.ansible.com/ansible/latest/user_guide/playbooks_strategies.html | ||
− | + | * <code>[[ansible-doc]] -t strategy -l</code> | |
+ | debug Executes tasks in interactive debug session | ||
+ | free Executes tasks without waiting for all hosts | ||
+ | host_pinned Executes tasks on each host without interruption | ||
+ | linear Executes tasks in a linear fashion | ||
Latest revision as of 11:42, 28 February 2022
# by default, ansible will use the 'linear' strategy but you may want to try # another one #strategy = free
ansible-doc -t strategy -l
debug Executes tasks in interactive debug session free Executes tasks without waiting for all hosts host_pinned Executes tasks on each host without interruption linear Executes tasks in a linear fashion
Ansible[edit]
- Ansible: modules, plugins, Playbooks (examples)
ansible-playbook
,ansible-vault
,ansible-inventory
,ansible-config
, Ansible Tower, Ansible Galaxy (Roles) (ansible-galaxy
),ansible-cmdb
,gather facts
,ansible.cfg
,Ansible Molecule
, Ansible collections,register
,template
,--ask-pass
,--ask-become-pass
,remote_user:
,/etc/ansible/hosts
,ansible-doc
,ansible-lint
,.ansible/
,--forks
,--start-at-task
,changelog
,inventory
,Notify:
,ansible HOSTNAME -m ping
,gathering
,/usr/bin/ansible
,ansible -m ping
,ansible.builtin
,hosts: (Ansible)
,set fact:
,when:
,blockinfile:
,become method:
,include:
,git:
, AWX,ansible --help
, Tags, Ansible variables, versions
Advertising: