diff --git a/playbook/gnet-upgrader-install.yml b/playbook/gnet-upgrader-install.yml new file mode 100644 index 0000000000000000000000000000000000000000..b86c1be09ddcaff4b15aa65517bb91e311cf4eda --- /dev/null +++ b/playbook/gnet-upgrader-install.yml @@ -0,0 +1,13 @@ +- name: a play that runs entirely on the ansible host + hosts: 127.0.0.1 + connection: local + + vars: + - upgrader_playbook: gnet-upgrade.yml + + vars_files: + - settings/upgrader.yml + + roles: + - upgrader + diff --git a/playbook/gnet-upgrader.yml b/playbook/gnet-upgrader.yml new file mode 100644 index 0000000000000000000000000000000000000000..0986a3ab04f242411731210313faa0f3bbec3680 --- /dev/null +++ b/playbook/gnet-upgrader.yml @@ -0,0 +1,16 @@ +- name: a play that runs entirely on the ansible host + hosts: 127.0.0.1 + connection: local + + vars: + - computer_name: noname + - slapostoken: notoken + + vars_files: + - settings/gnet.yml + + roles: + - { role: package, package_name: ntp, package_state: latest } + - { role: package, package_name: wget, package_state: latest } + - { role: package, package_name: re6st-node, package_state: latest } + - vifib-team-ssh-key diff --git a/playbook/install-script.yml b/playbook/install-script.yml index 86ee6c8bb284183fbaa8c6b579eb4b8deeaed8f0..f3bfc366f047425752598f8dc67097e2f4d5db14 100644 --- a/playbook/install-script.yml +++ b/playbook/install-script.yml @@ -56,6 +56,7 @@ - { role: "install-script", channel: "slapos", playbook_yml: "slapos-test-node.yml", script_path: "install/slapos-test-node"} - { role: "install-script", channel: "slapos", playbook_yml: "gnet-re6stnet.yml", script_path: "install/gnet/re6st"} - { role: "install-script", channel: "slapos", playbook_yml: "gnet-server.yml", script_path: "install/gnet/slapos"} + - { role: "install-script", channel: "slapos", playbook_yml: "gnet-upgrader-install.yml", script_path: "install/gnet/upgrader-install"} - { role: "install-script", channel: "slapos", playbook_yml: "test-suite.yml", script_path: "install/test-suite"} - { role: "install-script", channel: "slapos", playbook_yml: "vifib-upgrader-install.yml", script_path: "install/vifib-upgrader-install"}