Changeset 3795 in MondoRescue for branches/3.3/ansible


Ignore:
Timestamp:
Feb 15, 2024, 3:55:18 PM (4 months ago)
Author:
Bruno Cornec
Message:

Untag v3.3.0 never really published in the past - will start from here

Location:
branches/3.3/ansible
Files:
1 added
22 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3/ansible/inventory

    r3747 r3795  
    4747#victoria2.home.musique-ancienne.org
    4848
     49[gitea]
     50www.mondorescue.org
     51
    4952[system]
    5053www.mondorescue.org
  • branches/3.3/ansible/roles/docker/tasks/main.yml

    r3674 r3795  
    22
    33- name: Check mandatory packages installed
    4   urpmi: name={{ item.pkg }} state=installed update_cache=yes no-recommends=yes
     4  urpmi: name={{ item.pkg }} state=installed update_cache=yes no_recommends=yes
    55  with_items:
    66    - { pkg: docker }
  • branches/3.3/ansible/roles/git/tasks/main.yml

    r3656 r3795  
    22
    33- name: Check that git is installed
    4   urpmi: name=git state=installed no-recommends=yes
     4  urpmi: name=git state=installed no_recommends=yes
    55  tags: git
    66
  • branches/3.3/ansible/roles/httpd/tasks/main.yml

    r3792 r3795  
    22
    33- name: Check that Apache is installed
    4   urpmi: name=apache state=installed no-recommends=yes
     4  urpmi: name=apache state=installed no_recommends=yes
    55
    66- name: Check that Apache mod_proxy is installed
    7   urpmi: name=apache-mod_proxy state=installed no-recommends=yes
     7  urpmi: name=apache-mod_proxy state=installed no_recommends=yes
    88
    99- name: Configure Apache log directories
  • branches/3.3/ansible/roles/mageia-docker/tasks/main.yml

    r3672 r3795  
    22
    33- name: Check mageia-docker mandatory packages installed
    4   urpmi: name={{ item.pkg }} state=installed update_cache=yes no-recommends=yes
     4  urpmi: name={{ item.pkg }} state=installed update_cache=yes no_recommends=yes
    55  with_items:
    66    - { pkg: git }
  • branches/3.3/ansible/roles/ntp/tasks/main.yml

    r3674 r3795  
    22
    33- name: Check that ntp is installed
    4   urpmi: name=ntp state=installed no-recommends=yes
     4  urpmi: name=ntp state=installed no_recommends=yes
    55  tags: ntp
    66
  • branches/3.3/ansible/roles/ntp/templates/ntp.conf.j2

    r3747 r3795  
    2828#
    2929driftfile /var/lib/ntp/drift
    30 multicastclient 224.0.1.1       # listen on default 224.0.1.1
     30# Incorrect starting with mga9
     31#multicastclient    224.0.1.1       # listen on default 224.0.1.1
    3132broadcastdelay  0.008
    3233
     
    5152# the administrative functions.
    5253restrict 127.0.0.1
    53 restrict ::1
     54#restrict ::1
  • branches/3.3/ansible/roles/pb/tasks/main.yml

    r3670 r3795  
    22
    33- name: Check pb mandatory packages installed
    4   urpmi: name={{ item.pkg }} state=installed update_cache=yes no-recommends=yes
     4  urpmi: name={{ item.pkg }} state=installed update_cache=yes no_recommends=yes
    55  with_items:
    66    - { pkg: createrepo }
    7     - { pkg: apt }
     7      # pending Mageia 9 resolution
     8      #- { pkg: apt }
    89    - { pkg: apt-mga }
    910    - { pkg: dpkg }
  • branches/3.3/ansible/roles/resolvconf/tasks/main.yml

    r3655 r3795  
    22
    33- name: Check that resolvconf is installed
    4   urpmi: name=resolvconf state=installed no-recommends=yes
     4  urpmi: name=resolvconf state=installed no_recommends=yes
    55  tags: resolvconf
    66
  • branches/3.3/ansible/roles/rsync/tasks/main.yml

    r3667 r3795  
    22
    33- name: Check that rsync is installed
    4   urpmi: name=rsync state=installed no-recommends=yes
     4  urpmi: name=rsync state=installed no_recommends=yes
    55  tags: rsync
    66
  • branches/3.3/ansible/roles/shorewall/tasks/main.yml

    r3694 r3795  
    11---
    22- name: Install shorewall
    3   urpmi: name=shorewall state=installed no-recommends=yes
     3  urpmi: name=shorewall state=installed no_recommends=yes
    44
    55# Generate configuration
  • branches/3.3/ansible/roles/shorewall/templates/shorewall.conf.j2

    r3758 r3795  
    1313
    1414###############################################################################
    15 #                V E R B O S I T Y
     15#                            V E R B O S I T Y
    1616###############################################################################
    1717
     
    1919
    2020###############################################################################
    21 #                   P A G E R
     21#                               P A G E R
    2222###############################################################################
    2323
     
    2525
    2626###############################################################################
    27 #                F I R E W A L L
     27#                            F I R E W A L L
    2828###############################################################################
    2929
     
    3131
    3232###############################################################################
    33 #                  L O G G I N G
     33#                              L O G G I N G
    3434###############################################################################
    3535#
     
    5252LOGFILE=/var/log/messages
    5353
    54 LOGFORMAT="Shorewall %s %s"
     54LOGFORMAT="Shorewall:%s:%s:"
    5555
    5656LOGTAGONLY=No
     
    7575
    7676###############################################################################
    77 #   L O C A T I O N   O F   F I L E S   A N D   D I R E C T O R I E S
     77#       L O C A T I O N   O F   F I L E S   A N D   D I R E C T O R I E S
    7878###############################################################################
    7979
     
    109109
    110110###############################################################################
    111 #       D E F A U L T   A C T I O N S / M A C R O S
     111#               D E F A U L T   A C T I O N S / M A C R O S
    112112###############################################################################
    113113
     
    120120
    121121###############################################################################
    122 #            R S H / R C P  C O M M A N D S
     122#                        R S H / R C P  C O M M A N D S
    123123###############################################################################
    124124
     
    127127
    128128###############################################################################
    129 #           F I R E W A L L   O P T I O N S
     129#                       F I R E W A L L   O P T I O N S
    130130###############################################################################
    131131
     
    274274
    275275###############################################################################
    276 #           P A C K E T   D I S P O S I T I O N
     276#                       P A C K E T   D I S P O S I T I O N
    277277###############################################################################
    278278
     
    296296
    297297################################################################################
    298 #           P A C K E T  M A R K  L A Y O U T
     298#                       P A C K E T  M A R K  L A Y O U T
    299299################################################################################
    300300
  • branches/3.3/ansible/roles/smtp/defaults/main.yml

    r3655 r3795  
    11---
    22smtp_role: client
     3admin_email: bruno@victoria.frmug.org
     4include_vars: opendkim_vars.yml
  • branches/3.3/ansible/roles/smtp/tasks/main.yml

    r3674 r3795  
    22
    33- name: Check that postfix is installed
    4   urpmi: name=postfix state=installed no-recommends=yes
     4  urpmi: name=postfix state=installed no_recommends=yes
    55  tags: smtp
    66
  • branches/3.3/ansible/roles/svn/tasks/main.yml

    r3773 r3795  
    22
    33- name: Check that subversion is installed
    4   urpmi: name=subversion-server state=installed no-recommends=yes
     4  urpmi: name=subversion-server state=installed no_recommends=yes
    55  tags: subversion
    66
  • branches/3.3/ansible/roles/sympa/tasks/main.yml

    r3696 r3795  
    22
    33- name: Check that mandatory packages are installed
    4   urpmi: name={{ item }} state=installed no-recommends=yes
     4  urpmi: name={{ item }} state=installed no_recommends=yes
    55  with_items:
    66    - mariadb
  • branches/3.3/ansible/roles/system/tasks/main.yml

    r3674 r3795  
    1818
    1919- name: Check that sshd is installed
    20   urpmi: name=openssh-server state=installed update_cache=yes no-recommends=yes
     20  urpmi: name=openssh-server state=installed update_cache=yes no_recommends=yes
    2121  tags: system
    2222
     
    6161
    6262- name: Check that sshutout is installed
    63   urpmi: name=sshutout state=installed update_cache=yes no-recommends=yes
     63  urpmi: name=sshutout state=installed update_cache=yes no_recommends=yes
    6464  tags: system
    6565
  • branches/3.3/ansible/roles/trac/tasks/main.yml

    r3752 r3795  
    22
    33- name: Check that docutils is installed
    4   urpmi: name=python-docutils state=installed no-recommends=yes
     4  urpmi: name=python-docutils state=installed no_recommends=yes
    55  tags: trac
    66
    77- name: Check that pip is installed
    8   urpmi: name=python-pip state=installed no-recommends=yes
     8  urpmi: name=python-pip state=installed no_recommends=yes
    99  tags: trac
    1010
    1111- name: Install trac with fcgi
    12   urpmi: name=trac-fcgi state=installed no-recommends=yes
     12  urpmi: name=trac-fcgi state=installed no_recommends=yes
    1313  tags: trac
    1414
     
    1818  # Do it only at upgrade of trac:
    1919- name: Install trac plugins
    20   command: pip install --no-deps --upgrade -t /usr/lib/python2.7/site-packages/ {{ item }}
     20  command: pip install --no-deps --upgrade -t /usr/lib/python3.10/site-packages/ {{ item }}
    2121  with_items:
    22   - TracAccountManager
     22    #- TracAccountManager # Installed from trunk
    2323  - TracTags
    2424  - TracRobotsTxt
  • branches/3.3/ansible/roles/urpmi/files/addmedia

    r3793 r3795  
    11#!/bin/bash
    22urpmi.removemedia -a
    3 urpmi.addmedia --distrib mga http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/8/x86_64
     3urpmi.addmedia --distrib mga http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/9/x86_64
  • branches/3.3/ansible/roles/urpmi/tasks/main.yml

    r3667 r3795  
    1111
    1212- name: Check mandatory packages installed
    13   urpmi: name={{ item.pkg }} state=installed update_cache=yes no-recommends=yes
     13  urpmi: name={{ item.pkg }} state=installed update_cache=yes no_recommends=yes
    1414  with_items:
    1515    - { pkg: bind-utils }
  • branches/3.3/ansible/roles/vsftpd/tasks/main.yml

    r3674 r3795  
    22
    33- name: Check that vsftpd is installed
    4   urpmi: name=vsftpd state=installed no-recommends=yes
     4  urpmi: name=vsftpd state=installed no_recommends=yes
    55  tags: vsftpd
    66
  • branches/3.3/ansible/site.yml

    r3749 r3795  
    55- import_playbook: ntp.yml
    66- import_playbook: smtp.yml
    7 - import_playbook: trac.yml
     7  #- import_playbook: trac.yml
    88- import_playbook: vsftpd.yml
    99- import_playbook: svn.yml
Note: See TracChangeset for help on using the changeset viewer.