commit e493e3560ba494cb84a7f186f06c529f5bab1d82 Author: ThousandBestLives Date: Fri Jun 21 00:46:49 2024 +0000 Upload files to "/" diff --git a/README.md b/README.md new file mode 100644 index 0000000..f9d1f9a --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +# ansible-pull-example diff --git a/inventory b/inventory new file mode 100644 index 0000000..2fbb50c --- /dev/null +++ b/inventory @@ -0,0 +1 @@ +localhost diff --git a/local.yml b/local.yml new file mode 100644 index 0000000..c20e318 --- /dev/null +++ b/local.yml @@ -0,0 +1,11 @@ +--- +- hosts: localhost + roles: + - git + - go + - zig + - fish + - kakoune + - tmux + - mysql-5-7 + - rust diff --git a/pull.sh b/pull.sh new file mode 100644 index 0000000..88cc8df --- /dev/null +++ b/pull.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +ansible-galaxy install -r requirements.yml -f +ansible-playbook local.yml diff --git a/requirements.yml b/requirements.yml new file mode 100644 index 0000000..9ee5e8a --- /dev/null +++ b/requirements.yml @@ -0,0 +1,25 @@ +--- +- name: git + src: git@github.com:xxxxxx/ansible-role-git.git + scm: git +- name: go + src: git@github.com:xxxxxx/ansible-role-go.git + scm: git +- name: zig + src: git@github.com:xxxxxx/ansible-role-zig.git + scm: git +- name: kakoune + src: git@github.com:xxxxxx/ansible-role-kakoune.git + scm: git +- name: tmux + src: git@github.com:xxxxxx/ansible-role-tmux.git + scm: git +- name: fish + src: git@github.com:xxxxxx/ansible-role-fish.git + scm: git +- name: mysql-5-7 + src: git@github.com:xxxxxx/ansible-role-mysql-5-7.git + scm: git +- name: rust + src: git@github.com:xxxxxx/ansible-role-rust.git + scm: git