mirror of
https://github.com/status-im/infra-nimbus.git
synced 2025-02-20 17:38:08 +00:00
set become=false in ansible.cfg, set it to true in playbooks
See: https://github.com/status-im/nimbus-private/pull/9 Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
0e82fa7c03
commit
a5a950bb91
@ -13,7 +13,8 @@ interpreter_python = auto
|
||||
force_valid_group_names = ignore
|
||||
|
||||
[privilege_escalation]
|
||||
become = true
|
||||
# Normally, true, false to make it easier as non-admin user.
|
||||
become = false
|
||||
become_user = root
|
||||
|
||||
[ssh_connection]
|
||||
|
@ -10,12 +10,14 @@
|
||||
# This is run on every newly provisioned host.
|
||||
#
|
||||
- name: Bootstrap Python support for Ansible
|
||||
become: true
|
||||
gather_facts: False
|
||||
hosts: all
|
||||
roles:
|
||||
- infra-role-bootstrap/raw
|
||||
|
||||
- name: Bootstrap admin users and Consul
|
||||
become: true
|
||||
hosts: all
|
||||
roles:
|
||||
- infra-role-bootstrap
|
||||
|
@ -1,4 +1,5 @@
|
||||
- name: Cleanup to regain disk space
|
||||
become: true
|
||||
hosts: all
|
||||
tasks:
|
||||
- name: Save available space
|
||||
|
@ -8,6 +8,7 @@
|
||||
msg: 'Your Ansible version is lower than 2.8. Upgrade it.'
|
||||
|
||||
- name: Configure geth nodes
|
||||
become: true
|
||||
hosts:
|
||||
- nimbus-geth-goerli
|
||||
- nimbus-geth-mainnet
|
||||
|
@ -1,5 +1,6 @@
|
||||
---
|
||||
- name: Configure ElasticSearch servers
|
||||
become: true
|
||||
hosts: log-store
|
||||
roles:
|
||||
- role: swap-file
|
||||
@ -18,6 +19,7 @@
|
||||
tags: open-ports
|
||||
|
||||
- name: Configure ElasticSearch servers
|
||||
become: true
|
||||
hosts: log-dash
|
||||
pre_tasks:
|
||||
- name: Fetch available elasticsearch nodes
|
||||
|
@ -8,6 +8,7 @@
|
||||
msg: 'Your Ansible version is lower than 2.8. Upgrade it.'
|
||||
|
||||
- name: Configure network mainnet bootnodes
|
||||
become: true
|
||||
hosts:
|
||||
- nimbus-mainnet-small
|
||||
roles:
|
||||
|
@ -8,6 +8,7 @@
|
||||
msg: 'Your Ansible version is lower than 2.8. Upgrade it.'
|
||||
|
||||
- name: Configure build nodes
|
||||
become: true
|
||||
hosts:
|
||||
- testing-large-01.aws-eu-central-1a.nimbus.pyrmont
|
||||
- testing-small-01.aws-eu-central-1a.nimbus.pyrmont
|
||||
@ -15,6 +16,7 @@
|
||||
- { role: beacon-node-builds, tags: beacon-node-builds }
|
||||
|
||||
- name: Configure network pyrmont
|
||||
become: true
|
||||
hosts:
|
||||
- nimbus-pyrmont-stable
|
||||
- nimbus-pyrmont-testing
|
||||
|
@ -1,4 +1,5 @@
|
||||
- name: Update and upgrade apt packages
|
||||
become: true
|
||||
gather_facts: false
|
||||
hosts: all
|
||||
tasks:
|
||||
|
Loading…
x
Reference in New Issue
Block a user