From 5804a35ec813e306440067df4deb5c71c731656c Mon Sep 17 00:00:00 2001 From: Simeon Keske Date: Thu, 18 Jun 2020 22:19:41 +0200 Subject: [PATCH] initial commit --- .gitmodules | 6 ++++++ ansible.cfg | 13 +++++++++++++ group_vars/all.yml | 23 +++++++++++++++++++++++ hosts | 0 playbooks/site.yml | 7 +++++++ roles/gantsign.oh-my-zsh | 1 + roles/n0emis.base | 1 + 7 files changed, 51 insertions(+) create mode 100644 .gitmodules create mode 100644 ansible.cfg create mode 100644 group_vars/all.yml create mode 100644 hosts create mode 100644 playbooks/site.yml create mode 160000 roles/gantsign.oh-my-zsh create mode 160000 roles/n0emis.base diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..fb56631 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,6 @@ +[submodule "roles/n0emis.base"] + path = roles/n0emis.base + url = https://github.com/n0emis/ansible-role-base +[submodule "roles/gantsign.oh-my-zsh"] + path = roles/gantsign.oh-my-zsh + url = https://github.com/gantsign/ansible-role-oh-my-zsh/ diff --git a/ansible.cfg b/ansible.cfg new file mode 100644 index 0000000..fa1ed37 --- /dev/null +++ b/ansible.cfg @@ -0,0 +1,13 @@ +[defaults] +roles_path = roles +inventory = hosts +gathering = smart +fact_caching = jsonfile +fact_caching_connection = ~/.ansible-cache +fact_caching_timeout = 86400 +nocows = 1 +#vault_password_file = vault/gpg-wrapper.sh +callback_whitelist = timer + +[ssh_connection] +pipelining=True diff --git a/group_vars/all.yml b/group_vars/all.yml new file mode 100644 index 0000000..9a965cf --- /dev/null +++ b/group_vars/all.yml @@ -0,0 +1,23 @@ +--- +users: +- username: n0emis + state: present + shell: /bin/zsh + sudo: yes + public_key: | + ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC8xqVakxJ+AwcIrS/wyL03N++pE09epwMFlIMXWvlpwwEp1J/0H7nygwxk/9LIZdabs/ETWn0s8oHAkc7YR1c6ajSTCDiZEYATAWt7t8t4Gw/80c8u8T50lIqmiDEEVbOVv3Vta/pAN4hAUp9U5DpYCkQbvF+NKKcK3Yp8d9usNC6ohqgTK+IGAEdMhvpbbNppDMXoWHuynBzUX7TS6ST6yEr0tD+CBbCpbfcMuwTI3lNtfywEVpuFaeHqDZx2QDrEX4bg0dRKgQstbXYdqmBfnOiBpUr8Wyl8U1J24rN+E07pBw/8KDGWbVg19/Ex8o4ht/p5voUfKVjD/DwWXTLntBirjfAgQAm4GH/qP4x3zNiTtlYlQFbXSk6VEVrTrxCB5rTWvGnhg31tk5P3YwvagDmGABazY5s/8tlttSc1yWBctWQJCjxSqcCLekxG4D1rVuGKCKOZgflQ9QFdQlKycInPBek3zi0i3GYkE1YnNFye5ggOnxT8qGuKjfdtZI9qvMJQO8lbEDzbYQvNns1V/k4ZobiihYwrG5TJUzZFEpMYetDK6tI8BRU11d+ja0jWzguj5/7wc0nrr/BiZ8FkAr2fZ60j2aI5kG0s3qjbrQbB/RXaGP9hRU0+480+IokNJJIcjv5iwH5ophdrjC8GH4So2kPPt0NXob1yNysdjw== simeon@noemis.me + ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEcOPtW5FWNIdlMQFoqeyA1vHw+cA8ft8oXSbXPzQNL9 n0emis@n0emis.eu + oh_my_zsh: + theme: agnoster +- username: root + state: present + shell: /bin/zsh + sudo: yes + oh_my_zsh: + theme: agnoster + +oh_my_zsh_theme: "agnoster" + +ansible_python_interpreter: "/usr/bin/python3" + +ssh_allow_password: yes diff --git a/hosts b/hosts new file mode 100644 index 0000000..e69de29 diff --git a/playbooks/site.yml b/playbooks/site.yml new file mode 100644 index 0000000..e94282d --- /dev/null +++ b/playbooks/site.yml @@ -0,0 +1,7 @@ +--- +- hosts: all + roles: + - n0emis.base + - gantsign.oh-my-zsh + tags: base + diff --git a/roles/gantsign.oh-my-zsh b/roles/gantsign.oh-my-zsh new file mode 160000 index 0000000..e54737f --- /dev/null +++ b/roles/gantsign.oh-my-zsh @@ -0,0 +1 @@ +Subproject commit e54737fdff5bd76813a10b6defd8f9206f557b53 diff --git a/roles/n0emis.base b/roles/n0emis.base new file mode 160000 index 0000000..37e04a6 --- /dev/null +++ b/roles/n0emis.base @@ -0,0 +1 @@ +Subproject commit 37e04a6ef5c54832583a96da4708c8ddaf729aab