diff --git a/.gitignore b/.gitignore index 2d50efe..b008bae 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ -*.retry \ No newline at end of file +*.retry +.DS_Store +hosts diff --git a/hosts.template b/hosts.template new file mode 100644 index 0000000..4db46c5 --- /dev/null +++ b/hosts.template @@ -0,0 +1,18 @@ +[linux] +192.168.0.60 + +[linux:vars] +ansible_user=ansible +ansible_connection=ssh +ansible_password= + +[windows] +192.168.0.2 + +[windows:vars] +ansible_user=ansible +ansible_password= +ansible_connection=winrm +ansible_port=5986 +ansible_winrm_scheme=https +ansible_winrm_server_cert_validation=ignore diff --git a/playbook/linux/docker/deployOwnCloud.yml b/playbook/linux/docker/deployOwnCloud.yml new file mode 100644 index 0000000..30093c0 --- /dev/null +++ b/playbook/linux/docker/deployOwnCloud.yml @@ -0,0 +1,12 @@ + +- name: Deploy OwnCloud + hosts: linux + become_method: sudo + + tasks: + - name: Check if docker is installed. + apt: + name: docker + state: present + + \ No newline at end of file diff --git a/playbook/windows/InstallSecurityUpdates.yml b/playbook/windows/InstallSecurityUpdates.yml new file mode 100644 index 0000000..dc0947d --- /dev/null +++ b/playbook/windows/InstallSecurityUpdates.yml @@ -0,0 +1,7 @@ + +- name: Check for updates + hosts: windows + + tasks: + - name: +