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 github_directory: github.com/samuelclay/newsblur
git_web_repo: ssh://git@{{ github_directory }} git_web_repo: ssh://git@{{ github_directory }}
git_secrets_repo: ssh://git@github.com/samuelclay/newsblur-secrets 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_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') }}" sentry_node_release_webhook: "{{ lookup('ini', 'node_release_webhook section=sentry file=/srv/secrets-newsblur/configs/sentry.ini') }}"
sys_packages: [ sys_packages:
'git', [
'python3', "git",
'python3-dev', "python3",
'zsh', "python3-dev",
'openssl', "zsh",
'libssl-dev', "openssl",
'libssl-doc', "libssl-dev",
'build-essential', "libssl-doc",
'ntp', "build-essential",
'htop' "htop",
] ]
grafana_password: "{{ lookup('ini', 'grafana_password section=grafana file=/srv/secrets-newsblur/configs/grafana.ini') }}" grafana_password: "{{ lookup('ini', 'grafana_password section=grafana file=/srv/secrets-newsblur/configs/grafana.ini') }}"

View file

@ -33,12 +33,12 @@
run_once: yes run_once: yes
become: no become: no
register: consul_manager_ip 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 - name: Found consul manager IP
debug: debug:
msg: "IP is {{ consul_manager_ip.stdout }}" msg: "IP is {{ consul_manager_ip.stdout }}"
- name: Ensure /etc/consul.d exists - name: Ensure /etc/consul.d exists
become: yes become: yes
file: file:

Binary file not shown.