opened
manics
username_0
They're both useful but profiling adds extra output which obscures the rest of the ansible-playbook output, and `pipelining` is causing problems at the moment. These should be investigated later.
Revert some performance improvement changes to ansible.cfg
issue
created
aleksandra-tarkowska
username_1
looks good, works

without this PR:

```
(reverse-i-search)`dev': ansible-playbook os-devspace.yml -e vm_name=ola-test-devspace -e vm_key_name=ola
(dev_tools) MacBookPro:ansible ola$ ansible-playbook -i ~/OMERO/SYSADMIN/management_tools/ansible/devspace  -u centos devspace.yml

PLAY [devspace] ****************************************************************

TASK [setup] *******************************************************************
Tuesday 27 September 2016  16:18:33 +0100 (0:00:00.051)       0:00:00.051 ***** 
ok: [10.0.51.143]

TASK [upgrade-distpackages : system packages | upgrade] ************************
Tuesday 27 September 2016  16:18:33 +0100 (0:00:00.896)       0:00:00.947 ***** 
failed: [10.0.51.143] (item=[u'*']) => {"failed": true, "item": ["*"], "module_stderr": "sudo: sorry, you must have a tty to run sudo\n", "module_stdout": "", "msg": "MODULE FAILURE", "parsed": false}

NO MORE HOSTS LEFT *************************************************************

PLAY RECAP *********************************************************************
10.0.51.143                : ok=1    changed=0    unreachable=0    failed=1   

Tuesday 27 September 2016  16:18:34 +0100 (0:00:00.254)       0:00:01.202 ***** 
=============================================================================== 
setup ------------------------------------------------------------------- 0.90s
upgrade-distpackages : system packages | upgrade ------------------------ 0.25s
```

with this PR:

```
(dev_tools) MacBookPro:ansible ola$ git merge username_0/ansible_cfg_revert
Updating e42c17f..65df296
Fast-forward
 ansible/ansible.cfg | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
(dev_tools) MacBookPro:ansible ola$ ansible-playbook -i ~/OMERO/SYSADMIN/management_tools/ansible/devspace  -u centos devspace.yml

PLAY [devspace] ****************************************************************

TASK [setup] *******************************************************************
ok: [10.0.51.143]

TASK [upgrade-distpackages : system packages | upgrade] ************************
changed: [10.0.51.143] => (item=[u'*'])

TASK [upgrade-distpackages : system | current running kernel] ******************
ok: [10.0.51.143]

TASK [upgrade-distpackages : system | latest installed kernel] *****************
ok: [10.0.51.143]
 [WARNING]: Consider using yum, dnf or zypper module rather than running rpm


TASK [upgrade-distpackages : system | check if reboot needed] ******************
ok: [10.0.51.143]

TASK [upgrade-distpackages : debug] ********************************************
ok: [10.0.51.143] => {
    "msg": "Reboot needed (kernel): Current:3.10.0-327.22.2.el7.x86_64 Latest:3.10.0-327.36.1.el7.x86_64"
}

TASK [upgrade-distpackages : system | reboot] **********************************
skipping: [10.0.51.143]

TASK [upgrade-distpackages : system | wait for server to reboot] ***************
skipping: [10.0.51.143]

TASK [lvm-partition : storage | create logical volume] *************************
skipping: [10.0.51.143]

TASK [lvm-partition : storage | format] ****************************************
skipping: [10.0.51.143]

TASK [lvm-partition : storage | mount] *****************************************
skipping: [10.0.51.143]

TASK [docker : upstream docker | setup repository] *****************************
changed: [10.0.51.143]

TASK [docker : upstream docker | install docker] *******************************
changed: [10.0.51.143]

TASK [docker : storage | setup lvm docker-pool] ********************************
skipping: [10.0.51.143]

TASK [docker : upstream docker | configure docker options] *********************
changed: [10.0.51.143]

TASK [docker : upstream docker | copy systemd file] ****************************
changed: [10.0.51.143]

TASK [docker : upstream docker | reload systemd] *******************************
changed: [10.0.51.143]

TASK [docker : docker | enable] ************************************************
changed: [10.0.51.143]

TASK [docker : docker | group members] *****************************************
[DEPRECATION WARNING]: Skipping task due to undefined Error, in the future this will be a fatal error.: 'docker_groupmembers' is undefined.
This 
feature will be removed in a future release. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
skipping: [10.0.51.143]

TASK [versioncontrol-utils : system packages | install epel repo] **************
changed: [10.0.51.143]

TASK [versioncontrol-utils : system packages | basic system utils] *************
changed: [10.0.51.143] => (item=[u'git'])

TASK [devspace : add user omero to docker group] *******************************
changed: [10.0.51.143]

TASK [devspace : ensures /home/omero/.ssh dir exists] **************************
changed: [10.0.51.143]

TASK [devspace : allow omero to ssh directly] **********************************
changed: [10.0.51.143]

TASK [devspace : install python tools] *****************************************
changed: [10.0.51.143] => (item=[u'python-devel', u'python-pip'])

TASK [devspace : install python packages] **************************************
changed: [10.0.51.143] => (item=pip)
changed: [10.0.51.143] => (item=pyyaml)
changed: [10.0.51.143] => (item=docker-compose)

TASK [devspace : TODO install docker-py] ***************************************
changed: [10.0.51.143] => (item=docker-py==1.9.0)

TASK [devspace : clone devspace] ***********************************************
changed: [10.0.51.143]

TASK [devspace : ensures .ssh dir exists] **************************************
changed: [10.0.51.143]

TASK [devspace : copy snoopy] **************************************************
changed: [10.0.51.143] => (item={u'dest': u'.ssh/config', u'srcfile': u'.ssh/config'})
changed: [10.0.51.143] => (item={u'dest': u'.ssh/username_2_github', u'srcfile': u'.ssh/username_2_github'})
changed: [10.0.51.143] => (item={u'dest': u'.ssh/username_2_github.pub', u'srcfile': u'.ssh/username_2_github.pub'})
changed: [10.0.51.143] => (item={u'dest': u'.gitconfig', u'srcfile': u'.gitconfig'})

TASK [devspace : known_hosts] **************************************************
changed: [10.0.51.143]

TASK [devspace : chmod known_hosts] ********************************************
changed: [10.0.51.143]

TASK [devspace : change USER_ID] ***********************************************
changed: [10.0.51.143] => (item={u'file': u'nginx/Dockerfile'})
changed: [10.0.51.143] => (item={u'file': u'slave/Dockerfile'})
changed: [10.0.51.143] => (item={u'file': u'server/Dockerfile'})
changed: [10.0.51.143] => (item={u'file': u'web/Dockerfile'})

TASK [devspace : ssl cert for jenkins] *****************************************
changed: [10.0.51.143]

TASK [devspace : ssl cert for nginx] *******************************************
changed: [10.0.51.143]

TASK [devspace : Rrename to dev_5_2...] ****************************************
changed: [10.0.51.143]

RUNNING HANDLER [docker : restart docker] **************************************
changed: [10.0.51.143]

PLAY RECAP *********************************************************************
10.0.51.143                : ok=30   changed=25   unreachable=0    failed=0   
```
comment
created
snoopycrimecop
username_2
Conflicting PR. Removed from build [MANAGEMENT_TOOLS-merge#972](https://ci.openmicroscopy.org/job/MANAGEMENT_TOOLS-merge/972/). See the [console output](https://ci.openmicroscopy.org/job/MANAGEMENT_TOOLS-merge/972/consoleText) for more details.
Possible conflicts:
  - PR #116 username_1 'prompt for jenkins password'
    - ansible/ansible.cfg
  - PR #121 username_0 'Return non-zero error code if no hosts match'
    - ansible/ansible.cfg
  - PR #124 username_0 'Get the IDR playbooks working smoothly with multiple deployments'
    - ansible/ansible.cfg
comment
created
joshmoore
username_3
Merging with a few caveats:

 * let's leave https://github.com/openmicroscopy/infrastructure/issues/118 open and try to solve our sudo issues as soon as possible (>Oct)
 * I'll activate profiling locally for me, but I encourage everyone to turn it on since it clearly points to what stages are taking too long while a playbook is under development.
comment