diff --git a/basic_checks_Sloetjes.yml b/basic_checks_Sloetjes.yml new file mode 100644 index 0000000..20e4d79 --- /dev/null +++ b/basic_checks_Sloetjes.yml @@ -0,0 +1,38 @@ +- name: Basic system checks + hosts: all + tasks: + - name: Check to make sure the package manager is apt + fail: + msg: "Package manager is not apt" + when: "ansible_pkg_mgr != 'apt'" + +- name: Clone pricer repository + hosts: target_hosts + become: yes + tasks: + - name: Check out pricer repository + git: + repo: https://github.com/your-username/pricer.git + dest: /path/to/pricer + +- name: Install Python requirements + hosts: target_hosts + become: yes + tasks: + - name: Install Python requirements + pip: + requirements: /Users/sloetjeswong/pricer/requirements.txt + +- name: Install Chromium and Selenium + hosts: target_hosts + become: yes + tasks: + - name: Install Chromium + apt: + name: chromium-browser + state: present + + - name: Install Selenium + pip: + name: selenium + state: present