
name : Make target directory : path : " /yum-configs/' repos : - name : centos-6.10-os description : CentOS 6.10 OS baseurl : gpgkey : - name : centos-6.10-updates description : CentOS 6.10 updates baseurl : gpgkey : - name : centos-6. I set (what I consider) sensible default values, mostly matching the debmirror command’s defaults but a few set to my preference in the role’s defaults/main.yml file:
Mirrorsync database name has a space archive#
argument_specs : main : short_description : Main entry point for mirroring a repository with debmirror options : target : type : str required : true description : Directory to mirror to keyring_directory : type : str required : true description : Directory to download keys and store keyring in (must be outside target or debmirror will delete it) source : description : Where to mirror from options : host : type : str default : description : Hostname to mirror from root : type : str default : debian description : Location on the remote host that is the root of the Debian archive keys : type : list elements : dict options : name : type : str required : true description : Name of key (will be used for filename) url : type : str requires : true description : Where to fetch the key from checksum : type : str description : Optional checksum for the downloaded key fingerprint : type : str description : Optional fingerprint of the downloaded key method : type : str default : rsync choices : - ftp - http - https - rsync description : Method to use to download (rsync/http) suites : type : list elements : str required : true description : The list of suites to mirror components : type : list elements : str default : description : The list of components to mirror architectures : type : list elements : str default : description : The list of architectures to mirror rsync_extras : type : list elements : str default : choices : - doc - indices - tools - trace - none description : Additional files to mirror (with rsync) that are not part of the archive itself. this option has been renamed to COMPRESS FOR OLTP and the original name has. I began by replicating the start of my script, which ensures the mirror directory exists, aborting if not: 1: Table Compression Enhancements in Oracle Database 11g R1 Airys Notes.

Once I have improved the process, I will also be adding Gentoo and various git repository clones to the mirror. I have 2 types of repository, currently (apt and yum). When I came to write it, though, I thought it might be easier to use Ansible - which is rapidly becoming my “go to” tool for this sort of thing when it outgrows a simple bash script.
Mirrorsync database name has a space series#
I had been planning to rewrite it to use either bash functions or a series of script to mirror specific repositories using generalised patterns for (e.g.) apt and yum repositories. Strap in, this is going to be a long post…. This post describes the process of replacing the current script and then extending it to mirror more things, including Gentoo and Git repositories - something that took nearly 4 weeks (bearing in mind this is a hobby-project, fitting it in around work and home life).

The number of things being mirrored since I initially setup my mirrors in the home-lab network has grown and the current bash script has become a bit cumbersome to maintain.
