websoft9/apps/roles/role_init/defaults/main.yml
2022-07-11 14:03:55 +08:00

39 lines
692 B
YAML

# dictionary variable for interface
init_db:
init_application:
init_docker:
# init_db sample for you
init_db_example:
mysql:
admin: root
users: ["discuz"]
password: "123456"
service_before:
service_after:
config_paths:
- /data/wwwroot/discuz/upload/config/config_global_default.php
command:
- echo "hello world"
# these meta data ony for inner coding, not for interface
init_service_unit:
mysql:
before:
after: mysqld.service
mariadb:
before:
after: mysqld.service
mongodb:
before:
after: mongod.service
postgresql:
before:
after: postgresql.service
neo4j:
before:
after: neo4j.service