From f302668ff0ab96ca99a9f0ffc5c417072c0a2dc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=87etin=20ARDAL?= <6201562+kral2@users.noreply.github.com> Date: Sat, 22 Jan 2022 18:07:03 +0100 Subject: [PATCH] feat: add ansible playbook to install/update homebrew packages --- CHANGELOG.md | 6 ++++ system-config/ansibled/ansible.cfg | 5 ++++ system-config/ansibled/hosts.ini | 2 ++ system-config/ansibled/install_base.yaml | 37 ++++++++++++++++++++++++ 4 files changed, 50 insertions(+) create mode 100644 system-config/ansibled/ansible.cfg create mode 100644 system-config/ansibled/hosts.ini create mode 100644 system-config/ansibled/install_base.yaml diff --git a/CHANGELOG.md b/CHANGELOG.md index ae4a255..2924d84 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,12 @@ Given a version number MAJOR.MINOR.PATCH: - MINOR version when adding functionality in a backwards compatible manner, - PATCH version when making backwards compatible bug fixes. +## [0.7.0] - 2022-01-22 + +### Added + +- ansible playbook to install/update homebrew packages + ## [0.6.0] - 2021-10-01 ### Added diff --git a/system-config/ansibled/ansible.cfg b/system-config/ansibled/ansible.cfg new file mode 100644 index 0000000..de4661a --- /dev/null +++ b/system-config/ansibled/ansible.cfg @@ -0,0 +1,5 @@ +[defaults] +deprecation_warnings=False +inventory = hosts.ini +host_key_checking = False +#roles_path = diff --git a/system-config/ansibled/hosts.ini b/system-config/ansibled/hosts.ini new file mode 100644 index 0000000..a232309 --- /dev/null +++ b/system-config/ansibled/hosts.ini @@ -0,0 +1,2 @@ +[all] +localhost ansible_connection=local \ No newline at end of file diff --git a/system-config/ansibled/install_base.yaml b/system-config/ansibled/install_base.yaml new file mode 100644 index 0000000..d140449 --- /dev/null +++ b/system-config/ansibled/install_base.yaml @@ -0,0 +1,37 @@ +--- + +- name: Preparing the base environment + hosts: localhost + + tasks: + - name: install or update homebrew packages | development tools + community.general.homebrew: + name: + - coreutils + - git + - gh + - tig + - pre-commit + - terraform-docs + - tmux + - jq + - tree + state: latest + - name: install or update homebrew packages | networking tools + community.general.homebrew: + name: + - nmap + - ipcalc + - iperf3 + - putty + - wget + state: latest + - name: install or update homebrew packages | cloud CLIs + community.general.homebrew: + name: + - oci-cli + - awscli + - azure-cli + - google-cloud-sdk + state: latest +... \ No newline at end of file