Skip to content

Commit 460561c

Browse files
committed
dev debug
1 parent 4f444a6 commit 460561c

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

Diff for: inventory/dev/group_vars/all.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ docker_users:
33
- "{{ ansible_user }}"
44
docker_install_compose: true
55
docker_install_compose_plugin: true
6-
6+
vault_admin_user: admin
7+
vault_admin_password: '/nOKL/PaudDI1J80KB0pQYPGlvAoaMg8ea71MdvS2tI='
78
use_helm: true
89
use_k9s: true
910
use_krew: true

Diff for: inventory/dev/hosts

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ controller ansible_host=10.0.0.206
1313
[web]
1414
controller ansible_host=10.0.0.206
1515
[proxy]
16-
controller ansible_host=10.0.0.206
16+
;controller ansible_host=10.0.0.206
1717

1818
[dev:vars]
1919
ansible_user=vagrant

Diff for: provision.yml

+1
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@
146146
hosts: semaphore
147147
become: true
148148
gather_facts: true
149+
tags: [api]
149150

150151
vars:
151152
semaphore_api_url: "http://localhost:3000/api"

Diff for: roles/api/tasks/cookie.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
ansible.builtin.set_fact:
44
semaphore_admin_user: "{{ vault_admin_user }}"
55
semaphore_admin_password: "{{ vault_admin_password }}"
6-
no_log: true
6+
no_log: "{{ not debug }}"
77

88
- name: Set API token
99
ansible.builtin.uri:
@@ -15,7 +15,7 @@
1515
status_code: 204
1616
timeout: 5
1717
register: login_response
18-
no_log: true
18+
no_log: "{{ not debug }}"
1919

2020
- name: Save Cookie
2121
when: login_response.status == 204

0 commit comments

Comments
 (0)