From 29fb1f4aeeccf80662336530d126ca082fdaf640 Mon Sep 17 00:00:00 2001 From: L3D Date: Sat, 17 Nov 2018 21:19:09 +0100 Subject: [PATCH] Init ansible --- README.md | 22 ++++++++++++++++++++-- ansible.cfg | 12 ++++++++++++ ansible/hosts | 2 ++ 3 files changed, 34 insertions(+), 2 deletions(-) create mode 100644 ansible.cfg create mode 100644 ansible/hosts diff --git a/README.md b/README.md index 5e3be45..376a2f9 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,20 @@ -# ansible_thinkpad_setup -My Ansible Setup for my Laptop + Ansible Thinkpad Setup +========================== +My Ansible Setup for my Lenovo Thinkpad. + + What is this playbook good for: +-------------------------------- + + Install common usefull base packages + + + + Install instructions: +----------------------- +```bash +# Clone Git +git clone https://github.com/DO1JLR/ansible_thinkpad_setup.git ansible_thinkpad_setup +cd ansible_thinkpad_setup + +# Download needed submodules +git submodule update --init --recursive +``` + diff --git a/ansible.cfg b/ansible.cfg new file mode 100644 index 0000000..77b1e88 --- /dev/null +++ b/ansible.cfg @@ -0,0 +1,12 @@ +[defaults] +inventory = ./ansible/hosts +retry_files_enabled = False +nocows = True +transport = local + +[privilege_escalation] +become=Yes +become_method=sudo +become_user=root +become_ask_pass=False + diff --git a/ansible/hosts b/ansible/hosts new file mode 100644 index 0000000..5ef2e79 --- /dev/null +++ b/ansible/hosts @@ -0,0 +1,2 @@ +[thinkpad] +t460p ansible_host="localhost" ansible_connection=local