Skip to content

Commit

Permalink
Merge branch 'Katafalkas-fix/ansible-provisioning'
Browse files Browse the repository at this point in the history
  • Loading branch information
agschwender committed Apr 20, 2017
2 parents efe2cbe + dab51a8 commit ac77748
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions provisioning/playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

- hosts: vagrant
user: vagrant
sudo: True
become: True

tasks:
- user: name=ansible groups=admin shell=/bin/bash password=ansible state=present
Expand All @@ -17,12 +17,12 @@
- command: cat /home/vagrant/.ssh/authorized_keys
register: authorized_keys
- authorized_key: user=ansible key="{{ item }}"
with_items: authorized_keys.stdout_lines
with_items: "{{ authorized_keys.stdout_lines }}"


- hosts: app
user: ansible
sudo: True
become: True

tasks:
- name: update apt
Expand Down Expand Up @@ -62,7 +62,7 @@

- hosts: app
user: ansible
sudo: True
become: True

tasks:
- name: copy pilbox init script
Expand Down

0 comments on commit ac77748

Please sign in to comment.