diff --git a/source_control/play.yml b/source_control/play.yml new file mode 100644 index 0000000..2164296 --- /dev/null +++ b/source_control/play.yml @@ -0,0 +1,29 @@ +- name: test my new module + hosts: localhost + tasks: + - name: create org + gitea_organization: + gitea_url: https://git.zknt.org + auth_token: 123...456 + name: 'test123' + state: present + full_name: Test 123 + register: testout + - name: dump org output + debug: + msg: '{{ testout }}' + - name: create a repo + gitea_repository: + gitea_url: https://git.zknt.org + auth_token: 123...456 + name: 'testrepo' + organization: test123 + state: present + deploy_key: + key: ssh-ed25519 AAAA...ZZZZ chris + title: chris + read_only: False + register: testout + - name: dump repo output + debug: + msg: '{{ testout }}'