---
- name: Life Module
hosts: localhost
become: true
become_method: sudo
# global vars
vars:
name: 'Marco'
alias: 'Nocchia'
username: 'NomakCooper'
country: 'Italy'
role: 'Diagnostic Operator'
# pre setup
pre_tasks:
- name: setup filter
setup:
filter:
- 'wokeup_date_time'
- 'sleep_hours'
- 'number_coffees'
tasks:
# chek day
- name: Check woke up time
fail:
msg: sorry it's too early!
when: wokeup_date_time.hours|int < 12
- name: Check sleep
fail:
msg: sorry it's not time yet
when: sleep_hours|int < 8
- name: Check coffee
fail:
msg: sorry but the first coffee is sacred
when: number_coffees|int < 1
- name: it's time
debug:
msg: "{{name}} is ready for a new day"
Pinned Loading
-
write_charts
write_charts PublicAnsible Custom Module write_charts. Generate charts in image format on the ansible control node.
Python
-
dladm_show_facts
dladm_show_facts PublicAnsible Custom Module dladm_show_facts. Gathers facts about Solaris dladm show attributes on Solaris 11.
Python
-
pkginfo_facts
pkginfo_facts PublicAnsible Custom Module pkginfo_facts. Gathers facts about Solaris pkg info attributes for a specific pkg by "pkginfo" on Solaris 10 and "pkg info" on Solaris 11.
Python
-
svcs_attr_facts
svcs_attr_facts PublicAnsible Custom Module svcs_attr_facts. athers facts about Solaris SMF attribute for a specific services by svcs.
Python 1
-
svcs_facts
svcs_facts PublicAnsible Custom Module svcs_facts. Gathers facts about Solaris SMF services on a SunOS/Oracle Solaris host by svcs
Python 1
-
zoneadm_facts
zoneadm_facts PublicAnsible Custom Module zoneadm_facts. Gathers facts about configured local zone on a SunOS/Oracle Solaris global zone by zoneadm
Python 1
If the problem persists, check the GitHub status page or contact support.