From 01245218702ab59084432b1812fc275601d7aea3 Mon Sep 17 00:00:00 2001 From: Adam Olech Date: Sun, 14 Mar 2021 00:10:49 +0100 Subject: Initial commit --- ansible.cfg | 3 +++ ep_cloud.yml | 19 +++++++++++++++++++ inventory.yml | 3 +++ 3 files changed, 25 insertions(+) create mode 100644 ansible.cfg create mode 100644 ep_cloud.yml create mode 100644 inventory.yml diff --git a/ansible.cfg b/ansible.cfg new file mode 100644 index 0000000..9948c8c --- /dev/null +++ b/ansible.cfg @@ -0,0 +1,3 @@ +[defaults] +inventory = ./inventory.yml +remote_user = debian diff --git a/ep_cloud.yml b/ep_cloud.yml new file mode 100644 index 0000000..f276eb2 --- /dev/null +++ b/ep_cloud.yml @@ -0,0 +1,19 @@ +--- + +- name: Manage extinct_potato's personal cloud + hosts: all + + tasks: + - name: Ensure Python3 is default + become: yes + community.general.alternatives: + name: python + path: /usr/bin/python3 + link: /usr/bin/python + + - name: Install GIT + become: yes + apt: + name: git + state: present + update_cache: yes diff --git a/inventory.yml b/inventory.yml new file mode 100644 index 0000000..4983a31 --- /dev/null +++ b/inventory.yml @@ -0,0 +1,3 @@ +all: + hosts: + jupiter.lan: -- cgit v1.2.1