Skip to content

Instantly share code, notes, and snippets.

@mark-dce
Created August 14, 2015 18:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mark-dce/90bb32ea6f5deb502d05 to your computer and use it in GitHub Desktop.
Save mark-dce/90bb32ea6f5deb502d05 to your computer and use it in GitHub Desktop.
Ansible adrl-prod.yml run
MARKs-MB:sufia-centos mark$ git checkout master
M vanilla.yml
Switched to branch 'master'
Your branch is behind 'origin/master' by 14 commits, and can be fast-forwarded.
(use "git pull" to update your local branch)
MARKs-MB:sufia-centos mark$ git pull
Updating deaccf5..1504cba
Fast-forward
README.md | 14 +++++++---
adrl-prod.yml | 26 ++++++++++++++++++
adrl-vagrant.yml | 23 ++++++++++++++++
ansible.cfg | 2 ++
roles/app-config/tasks/alex2.yml | 4 +--
roles/housekeeping/tasks/dev_packages.yml | 2 +-
.../tasks/{fedora.yml => fedora411.yml} | 0
roles/hydra-stack/tasks/fedora430.yml | 32 ++++++++++++++++++++++
roles/hydra-stack/tasks/java_8.yml | 20 ++++++++++++++
roles/hydra-stack/tasks/main.yml | 3 +-
10 files changed, 117 insertions(+), 9 deletions(-)
create mode 100644 adrl-prod.yml
create mode 100644 adrl-vagrant.yml
rename roles/hydra-stack/tasks/{fedora.yml => fedora411.yml} (100%)
create mode 100644 roles/hydra-stack/tasks/fedora430.yml
create mode 100644 roles/hydra-stack/tasks/java_8.yml
MARKs-MB:sufia-centos mark$ ls -la
total 669384
drwxr-xr-x+ 15 mark staff 510 Aug 14 13:36 .
drwxr-xr-x+ 15 mark staff 510 Aug 4 10:46 ..
drwxr-xr-x+ 16 mark staff 544 Aug 14 13:36 .git
-rw-r--r--+ 1 mark staff 2717 Aug 14 13:36 README.md
-rw-r--r--+ 1 mark staff 1103 Aug 14 13:36 adrl-prod.yml
-rw-r--r--+ 1 mark staff 636 Aug 14 13:36 adrl-vagrant.yml
-rw-r--r--+ 1 mark staff 262 Aug 14 13:36 ansible.cfg
-rw-r--r--@ 1 mark staff 483 Aug 4 10:46 ec2.yml
-rw-r--r--@ 1 mark staff 254 Aug 5 09:34 hosts
-rw-r--r--@ 1 mark staff 342681600 Aug 12 21:51 jdk-8u51-linux-x64.tar.gz
drwxr-xr-x+ 13 mark staff 442 Aug 5 09:34 roles
-rw-r--r--+ 1 mark staff 1855 Aug 4 10:46 sample_Vagrantfile
-rw-r--r--+ 1 mark staff 115 Aug 4 10:46 sample_sub_playbook.yml
-rw-r--r--@ 1 mark staff 309 Aug 4 10:46 vagrant.yml
-rw-r--r--@ 1 mark staff 357 Aug 12 21:09 vanilla.yml
MARKs-MB:sufia-centos mark$ mate .
MARKs-MB:sufia-centos mark$ ansible-playbook adrl-prod.yml
PLAY [provision production centos 7 host for ADRL 2.0] ************************
GATHERING FACTS ***************************************************************
ok: [hydra-head]
TASK: [generic-centos | format volume for /opt] *******************************
ok: [hydra-head]
TASK: [generic-centos | mount volume at /opt] *********************************
ok: [hydra-head]
TASK: [housekeeping | disable SELinux] ****************************************
ok: [hydra-head]
TASK: [housekeeping | update all yum packages] ********************************
changed: [hydra-head]
TASK: [housekeeping | install dev tools and libraries] ************************
ok: [hydra-head] => (item=autoconf,automake,binutils,bison,flex,gcc,gcc-c++,gettext,libtool,make,patch,pkgconfig,redhat-rpm-config,rpm-build,rpm-sign,screen,wget,curl-devel,httpd-devel,openssl-devel,readline-devel,sqlite-devel,mysql-devel,ImageMagick-devel,nasm,libxml2-devel,libxslt-devel,libyaml-devel,libffi-devel,gdbm-devel,git,xfsprogs)
TASK: [housekeeping | create install group] ***********************************
failed: [hydra-head] => {"failed": true, "name": ""}
msg: groupadd: '' is not a valid group name
FATAL: all hosts have already failed -- aborting
PLAY RECAP ********************************************************************
to retry, use: --limit @/Users/mark/adrl-prod.retry
hydra-head : ok=6 changed=1 unreachable=0 failed=1
MARKs-MB:sufia-centos mark$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment