docs: ansible: add workaround for 'raw' support.
This commit is contained in:
parent
5b03e06457
commit
63c7a3013d
|
@ -55,9 +55,25 @@ Mitogen for Ansible
|
||||||
|
|
||||||
**Known Issues**
|
**Known Issues**
|
||||||
|
|
||||||
* The Ansible ``raw`` action executes as a regular Mitogen connection,
|
* The ``raw`` action executes as a regular Mitogen connection, which requires
|
||||||
precluding its use for installing Python on a target. This will be addressed
|
Python on the target, precluding its use for installing Python. This will be
|
||||||
in a future 0.2 release.
|
addressed in a future 0.2 release. For now, simply mix Mitogen and vanilla
|
||||||
|
Ansible strategies in your playbook:
|
||||||
|
|
||||||
|
.. code-block:: yaml
|
||||||
|
|
||||||
|
- hosts: web-servers
|
||||||
|
strategy: linear
|
||||||
|
tasks:
|
||||||
|
- name: Install Python if necessary.
|
||||||
|
raw: test -e /usr/bin/python || apt install -y python-minimal
|
||||||
|
|
||||||
|
- hosts: web-servers
|
||||||
|
strategy: mitogen_linear
|
||||||
|
roles:
|
||||||
|
- nginx
|
||||||
|
- initech_app
|
||||||
|
- y2k_fix
|
||||||
|
|
||||||
* Performance does not scale linearly with target count. This requires
|
* Performance does not scale linearly with target count. This requires
|
||||||
significant additional work, as major bottlenecks exist in the surrounding
|
significant additional work, as major bottlenecks exist in the surrounding
|
||||||
|
|
Loading…
Reference in New Issue