Commit 9d704660 authored by Elena Grandi's avatar Elena Grandi
Browse files

Add a new package for the fuss-client roles to be used by fuss-manager.

parent 0a8713dc
......@@ -5,3 +5,4 @@ set -e -x
ansible-playbook -i localhost, --syntax-check connect.yml
ansible-playbook -i localhost, --syntax-check standalone.yml
ansible-playbook -i localhost, --syntax-check remove.yml
ansible-playbook -i localhost, --syntax-check upgrade_client.yml
#! /usr/bin/env ansible-playbook
# Copyright (C) 2016-2017 Progetto Fuss <info@fuss.bz.it>
# Elena Grandi <elena@truelite.it>,
# Christopher R. Gabriel <cgabriel@truelite.it>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program or from the site that you downloaded it
# from; if not, write to the Free Software Foundation, Inc., 59 Temple
# Place, Suite 330, Boston, MA 02111-1307 USA
---
- name: Upgrade fuss-client on a client
hosts: all
roles:
- wait_upgrades
- common
- network
- fuss_packages
- homes
- ldap
- desktop
- users
- cluster
- unattended-apt
- misc
- role: unofficial
when: unofficial is defined and unofficial
tasks:
- name: Check that the facts directory exists
file:
path: '/etc/ansible/facts.d'
state: directory
- name: Get the current fuss-client version
package_facts:
manager: auto
- name: get the fuss-client version
set_fact:
fuss_client_version: "{{ ansible_facts.packages['fuss-manager-fuss-client'][0]['version'] }}"
- name: Save a timestamp of the current run in an ansible fact
copy:
dest: '/etc/ansible/facts.d/fuss_client.fact'
content: |
{
"timestamp": "{{ ansible_date_time.epoch }}",
"version": "{{ fuss_client_version }}"
}
......@@ -5,6 +5,7 @@ fuss-client (10.0.28) UNRELEASED; urgency=medium
* Enable unattended-upgrades on the fuss-clients.
* Review other missing options in the manpage.
* Clean /media subdirectories at boot. refs: #950
* Add a new package for the fuss-client roles to be used by fuss-manager.
-- Elena Grandi <elena@truelite.it> Thu, 06 May 2021 10:34:24 +0200
......
......@@ -54,3 +54,21 @@ Description: Fuss Client Dependencies metapackage
for a Fuss GNU/Linux Network.
.
Developed for the FUSS Project. See http://www.fuss.bz.it/
Package: fuss-manager-fuss-client
Architecture: all
Depends:
${misc:Depends},
fuss-manager,
openssh-client,
Homepage: http://www.fuss.bz.it/
Description: Connect a workstation to a FUSS Server
This package contains the ansible playbooks used by fuss-client, installed in
a position where they can be used by fuss-manager.
.
Only the equivalent of fuss-client --upgrade is supported.
.
This package is experimental and may not work as expected: use at your own
risk.
.
Developed for the FUSS Project.
ansible/roles etc/fuss-manager/playbooks/fuss-client/
ansible/includes etc/fuss-manager/playbooks/fuss-client/
ansible/upgrade_client.yml etc/fuss-manager/playbooks/fuss-client/
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment