pcahyna
pcahyna
@codetronaut from a quick look I think the best place to start would be to read about the CheckPoint feature referenced above and look in PR #119 to see how...
An example of a test which reboots the managed host can be seen here: https://github.com/linux-system-roles/selinux/blob/6cd1ec8fdebdb92a789b14e5a44fe77f0a3d8ecd/tests/selinux_apply_reboot.yml#L12
here is some information about async tasks: https://docs.ansible.com/ansible/latest/user_guide/playbooks_async.html
@thom311 what is the SSH module? I don't see it in the module index.
@codetronaut in this case, because most of the role functionality is implemented in an Ansible module, the Ansible documentation about developing modules could be useful: https://docs.ansible.com/ansible/latest/dev_guide/index.html
@codetronaut you don't need to dive too much into the details of Ansible module development though, as you are not developing a module from scratch, the module already exists and...
@codetronaut : @tyll uncovered some problems in the checkpoint implementation, see #154, so the code in #119 is likely to get changed.
The role READMEs are currently more a reference documentation, making sure every option is properly described. They are not suitable as task-oriented HOWTOs / user stories. They could be expanded...
The advantage of a separate document would be also that it can be in another format than Markdown (like asciidoc).
can you please provide the playbook?