Skip to content

Commit

Permalink
yamllinted
Browse files Browse the repository at this point in the history
  • Loading branch information
bbaassssiiee committed Nov 1, 2024
1 parent 9bd0d55 commit 8b887d3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
1 change: 0 additions & 1 deletion inventory/dev/group_vars/semaphore.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
semaphore_web_root: 'https://controller'
semaphore_db_host: "{{ ansible_eth1.ipv4.address }}"

8 changes: 4 additions & 4 deletions roles/semaphore/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ semaphore_service_uri: "https://{{ ansible_fqdn | default(ansible_hostname) }}"
# Use ansible-vault to encrypt values generated with
# `head -c32 /dev/urandom | base64`
#
vault_admin_password: "{{ lookup('pipe','head -c32 /dev/urandom | base64') }}"
vault_cookie_hash: "{{ lookup('pipe','head -c32 /dev/urandom | base64') }}"
vault_cookie_encryption: "{{ lookup('pipe','head -c32 /dev/urandom | base64') }}"
vault_access_key_encryption: "{{ lookup('pipe','head -c32 /dev/urandom | base64') }}"
vault_admin_password: "{{ lookup('pipe', 'head -c32 /dev/urandom | base64') }}"
vault_cookie_hash: "{{ lookup('pipe', 'head -c32 /dev/urandom | base64') }}"
vault_cookie_encryption: "{{ lookup('pipe', 'head -c32 /dev/urandom | base64') }}"
vault_access_key_encryption: "{{ lookup('pipe', 'head -c32 /dev/urandom | base64') }}"
4 changes: 2 additions & 2 deletions roles/semaphore/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
- name: "Converge state - {{ desired_state }}"
ansible.builtin.include_tasks: "{{ desired_state }}.yml"

#- name: Flush handlers
# ansible.builtin.meta: flush_handlers
- name: Flush handlers
ansible.builtin.meta: flush_handlers

- name: "Verify state - {{ desired_state }}"
ansible.builtin.include_tasks: verify.yml
Expand Down
1 change: 0 additions & 1 deletion roles/semaphore/tasks/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,3 @@
port: "{{ semaphore_port }}"
state: started
timeout: 10

0 comments on commit 8b887d3

Please sign in to comment.