mirror of
https://github.com/viq/NewsBlur.git
synced 2025-04-13 09:38:09 +00:00
Updating ansible setup.
This commit is contained in:
parent
c55b88abe8
commit
501a26034c
3 changed files with 14 additions and 15 deletions
|
@ -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') }}"
|
||||
|
|
|
@ -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.
Loading…
Add table
Reference in a new issue