Skip to content

Commit

Permalink
Fix other modes
Browse files Browse the repository at this point in the history
  • Loading branch information
brianshumate committed Mar 23, 2017
1 parent 9425c86 commit ca93961
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,3 +174,7 @@
## v1.3.9

- Fix quote removal/type finagling YAML sadness (thanks @arledesma)

## v1.3.10

- Fix other modes / types ノ( ゜-゜ノ)
4 changes: 2 additions & 2 deletions tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
url: "{{ vault_zip_url }}"
dest: "{{ role_path }}/files/{{ vault_pkg }}"
checksum: "sha256:{{ vault_sha256.stdout.split(' ')|first }}"
timeout: 42
timeout: "42"
run_once: true
tags: installation
when: vault_package.stat.exists == False
Expand All @@ -70,7 +70,7 @@
dest: "{{ vault_bin_path }}"
owner: "{{ vault_user }}"
group: "{{ vault_group }}"
mode: 0755
mode: "0755"
tags: installation

- name: Cleanup
Expand Down
10 changes: 5 additions & 5 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,15 @@
dest: "{{ vault_main_config }}"
owner: "{{ vault_user }}"
group: "{{ vault_group }}"
mode: 0400
mode: "0400"

- name: SYSV init script
template:
src: vault_sysvinit.j2
dest: /etc/init.d/vault
owner: root
group: root
mode: 0755
mode: "0755"
when: not ansible_distribution == "Debian"

- name: Debian init script
Expand All @@ -84,7 +84,7 @@
dest: /etc/init.d/vault
owner: root
group: root
mode: 0755
mode: "0755"
when: ansible_distribution == "Debian" and ansible_distribution_major_version|int <= 7

- name: systemd unit
Expand All @@ -93,7 +93,7 @@
dest: /lib/systemd/system/vault.service
owner: root
group: root
mode: 0644
mode: "0644"
when: ansible_distribution_major_version|int >= 7

- name: Start Vault
Expand All @@ -106,4 +106,4 @@
wait_for:
host: "{{ vault_address}}"
port: "{{ vault_port }}"
delay: 10
delay: "10"
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.3.9
v1.3.10

0 comments on commit ca93961

Please sign in to comment.