oravirt / ansible-oracle-modules

Oracle modules for Ansible
MIT License
214 stars 160 forks source link

oracle_services: state should be properly reflected #47

Open oravirt opened 6 years ago

oravirt commented 6 years ago

If a new service is created with state=started, the module needs to run twice (in 2 tasks). The first task creates the service, the second starts the service Same when removing a service (state=absent) First task stops the service, second task removes it.

state=started/absent should do this is 1 run.