Skip to content

Commit

Permalink
Merge pull request #91 from plone/pipelining
Browse files Browse the repository at this point in the history
Docs for ansible pipelining
  • Loading branch information
smcmahon authored Jul 14, 2016
2 parents 4e4295a + 5c8e4eb commit d9d205d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,16 @@ You should not need to. But if you do, you should know:
Role Variables
--------------

### ansible_ssh_pipelining

ansible_ssh_pipelining: true

This role uses ssh pipelining to avoid security errors from Ansible when running operations without superuser rights.
SSH pipelining for this purpose may require the disabling of ‘requiretty’ in /etc/sudoers.
If you get a pipelining error and cannot disable requiretty, set this variable to false and instead turn on allow_world_readable_tmpfiles in your ansible.cfg.
See http://docs.ansible.com/ansible/become.html#becoming-an-unprivileged-user for a discussion.


### plone_instance_name

plone_instance_name: frodos_site
Expand Down
4 changes: 2 additions & 2 deletions test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@

roles:

- role: plone.plone_server
- role: ansible.plone_server
plone_config: "{{ servers[0] }}"

- role: plone.plone_server
- role: ansible.plone_server
plone_config: "{{ servers[1] }}"

tasks:
Expand Down

0 comments on commit d9d205d

Please sign in to comment.