Ansible is licensed under the GPL 3.0, they provide a wonderful collection of documentation for most every bit of the software. For instance the copy module can be seen on their documentation page:
https://docs.ansible.com/ansible/latest/modules/copy_module.html
and is seen in their source code:
https://github.com/ansible/ansible/blob/devel/lib/ansible/modules/files/copy.py
The documentation contains ready to use examples:
- name: Copy file with owner and permissions
copy:
src: /srv/myfiles/foo.conf
dest: /etc/foo.conf
owner: foo
group: foo
mode: '0644'
If I were to use it, it would end up looking a lot like the sample:
- name: Copy bar.conf into place
copy:
src: bar.conf
dest: /etc/bar.conf
owner: bar
mode: '0644'
I believe my copy task is a derivative of the example from the documentation. Leading me to my first question: Does this mean any use of the copy module, or any ansible module for that matter, would be a derivative of the documentation?
And if it is a derivative of the documentation, does that mean that any ansible playbook would be subject to GPL 3.0 licensing? Due to being a derivative of documentation that is licensed under GPL 3.0?