don't chmod +x on dump.sh if class not in production
parent
be232224ab
commit
b7c44190be
|
@ -29,7 +29,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|||
"-e class=please",
|
||||
"-e hostname=please.unglue.it",
|
||||
"-e setdns=true",
|
||||
"-e branch=master"
|
||||
"-e branch=sysadmin"
|
||||
]
|
||||
end
|
||||
|
||||
|
|
|
@ -441,6 +441,7 @@
|
|||
|
||||
- name: chmod +x dump.sh
|
||||
file: path=/home/{{user}}/dump.sh state=file owner={{user}} group={{user}} mode=0745
|
||||
when: class in ['prod']
|
||||
|
||||
- name: put an empty file in main dir to help identify this instance
|
||||
command: touch "/home/{{user}}/{{class}}_{{ ansible_date_time.iso8601 }}"
|
||||
|
|
Loading…
Reference in New Issue