Updating ansible setup.

This commit is contained in:
Samuel Clay 2024-09-10 06:35:50 -07:00
parent c55b88abe8
commit 501a26034c
3 changed files with 14 additions and 15 deletions

View file

@ -1,5 +1,4 @@
---
github_directory: github.com/samuelclay/newsblur
git_web_repo: ssh://git@{{ github_directory }}
git_secrets_repo: ssh://git@github.com/samuelclay/newsblur-secrets
@ -17,16 +16,16 @@ sentry_task_release_webhook: "{{ lookup('ini', 'task_release_webhook section=sen
sentry_monitor_release_webhook: "{{ lookup('ini', 'monitor_release_webhook section=sentry file=/srv/secrets-newsblur/configs/sentry.ini') }}"
sentry_node_release_webhook: "{{ lookup('ini', 'node_release_webhook section=sentry file=/srv/secrets-newsblur/configs/sentry.ini') }}"
sys_packages: [
'git',
'python3',
'python3-dev',
'zsh',
'openssl',
'libssl-dev',
'libssl-doc',
'build-essential',
'ntp',
'htop'
]
sys_packages:
[
"git",
"python3",
"python3-dev",
"zsh",
"openssl",
"libssl-dev",
"libssl-doc",
"build-essential",
"htop",
]
grafana_password: "{{ lookup('ini', 'grafana_password section=grafana file=/srv/secrets-newsblur/configs/grafana.ini') }}"

View file

@ -33,12 +33,12 @@
run_once: yes
become: no
register: consul_manager_ip
local_action: command /srv/newsblur/ansible/roles/consul/tasks/get_consul_manager_ip.py
local_action: command ~/.virtualenvs/newsblur/bin/python /srv/newsblur/ansible/roles/consul/tasks/get_consul_manager_ip.py
- name: Found consul manager IP
debug:
msg: "IP is {{ consul_manager_ip.stdout }}"
- name: Ensure /etc/consul.d exists
become: yes
file:

Binary file not shown.