This repository has been archived by the owner on Jul 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
base_setup.yml
37 lines (31 loc) · 1.35 KB
/
base_setup.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# passbolt_ansible
# Copyright (C) 2019 NeuroForge GmbH & Co.KG <https://neuroforge.de/>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
---
- hosts: all
vars:
ansible_ssh_private_key_file: "{{playbook_dir}}/ssh_keys/root_rsa"
ansible_user: "root"
gather_facts: False
tasks:
# ansible only requires only a minimal installation of python 2.x on the managed machines
- name: "ansible required: install python"
raw: apt update -y && apt install python-minimal -y && apt install python-simplejson -y
- hosts: all
become: true
vars:
ansible_ssh_private_key_file: "{{playbook_dir}}/ssh_keys/root_rsa"
ansible_user: "root"
apt_update_cache: True
apt_restart_after_dist_upgrade: True
roles:
- role: essential-software-setup