diff --git a/provisioning/playbook.yml b/provisioning/playbook.yml index cfc9cdd5..2161fab6 100644 --- a/provisioning/playbook.yml +++ b/provisioning/playbook.yml @@ -213,6 +213,11 @@ pyenv_users: - vagrant + # Install Pipenv + - role: pipenv + tags: + - python + # Install Java JDK 8 - role: gantsign.java tags: @@ -284,6 +289,12 @@ - git-credential-manager - gui + # Install Google Chrome web browser + - role: google-chrome + tags: + - chrome + - gui + # Set the default web browser # This is only a partial solution as Google Chrome will still ask if you # want to make it the default browser when it first runs. @@ -293,6 +304,12 @@ - chrome default_web_browser: google-chrome + # Install Postman HTTP tool + - role: postman + tags: + - gui + - postman + # Install Visual Studio Code editor - role: gantsign.visual-studio-code tags: @@ -683,31 +700,6 @@ maven: '3.8' post_tasks: - # Install Pipenv - - name: install Pipenv - package: - name: pipenv - tags: - - python - - # Install Google Chrome web browser - - name: install Google Chrome - package: - name: google-chrome-stable - tags: - - gui - - chrome - - # Install Postman HTTP tool - - name: install Postman - snap: - name: - - postman - state: present - tags: - - gui - - postman - # Cleanup - name: remove dependencies that are no longer required apt: diff --git a/provisioning/roles/google-chrome/tasks/main.yml b/provisioning/roles/google-chrome/tasks/main.yml new file mode 100644 index 00000000..ca74bef1 --- /dev/null +++ b/provisioning/roles/google-chrome/tasks/main.yml @@ -0,0 +1,3 @@ +- name: install Google Chrome + package: + name: google-chrome-stable diff --git a/provisioning/roles/pipenv/tasks/main.yml b/provisioning/roles/pipenv/tasks/main.yml new file mode 100644 index 00000000..a8e80fc5 --- /dev/null +++ b/provisioning/roles/pipenv/tasks/main.yml @@ -0,0 +1,3 @@ +- name: install Pipenv + package: + name: pipenv diff --git a/provisioning/roles/postman/tasks/main.yml b/provisioning/roles/postman/tasks/main.yml new file mode 100644 index 00000000..0e1e2069 --- /dev/null +++ b/provisioning/roles/postman/tasks/main.yml @@ -0,0 +1,4 @@ +- name: install Postman + snap: + name: postman + state: present